Package edu.uiuc.ncsa.myproxy
Class MPSingleConnectionProvider.MyProxyLogonConnection
- java.lang.Object
-
- edu.uiuc.ncsa.myproxy.MPSingleConnectionProvider.MyProxyLogonConnection
-
- All Implemented Interfaces:
MyProxyConnectable
,edu.uiuc.ncsa.security.core.cache.Cacheable
,edu.uiuc.ncsa.security.core.Identifiable
,Serializable
,Cloneable
- Enclosing class:
- MPSingleConnectionProvider<T extends MyProxyConnectable>
public static class MPSingleConnectionProvider.MyProxyLogonConnection extends Object implements MyProxyConnectable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MyProxyLogonConnection(MyProxyLogon myProxyLogon)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description edu.uiuc.ncsa.security.core.Identifiable
clone()
void
close()
Ends the connection to the MyProxy server cleanlyLinkedList<X509Certificate>
getCerts(byte[] pkcs10CertRequest)
LinkedList<X509Certificate>
getCerts(edu.uiuc.ncsa.security.util.crypto.MyPKCS10CertRequest pkcs10CertRequest)
Retrieves a collection of certificates.String
getDescription()
edu.uiuc.ncsa.security.core.Identifier
getIdentifier()
String
getIdentifierString()
MyProxyLogon
getMyProxyLogon()
boolean
isReadOnly()
void
open()
Establish a connection to a Myproxy server.void
setDescription(String description)
void
setIdentifier(edu.uiuc.ncsa.security.core.Identifier identifier)
void
setLifetime(long certLifetime)
void
setReadOnly(boolean readOnly)
String
toString()
-
-
-
Constructor Detail
-
MyProxyLogonConnection
public MyProxyLogonConnection(MyProxyLogon myProxyLogon)
-
-
Method Detail
-
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnly
in interfaceedu.uiuc.ncsa.security.core.Identifiable
-
setReadOnly
public void setReadOnly(boolean readOnly)
- Specified by:
setReadOnly
in interfaceedu.uiuc.ncsa.security.core.Identifiable
-
setLifetime
public void setLifetime(long certLifetime)
- Specified by:
setLifetime
in interfaceMyProxyConnectable
-
getMyProxyLogon
public MyProxyLogon getMyProxyLogon()
-
close
public void close()
Description copied from interface:MyProxyConnectable
Ends the connection to the MyProxy server cleanly- Specified by:
close
in interfaceMyProxyConnectable
-
open
public void open()
Description copied from interface:MyProxyConnectable
Establish a connection to a Myproxy server.- Specified by:
open
in interfaceMyProxyConnectable
-
getCerts
public LinkedList<X509Certificate> getCerts(byte[] pkcs10CertRequest)
- Specified by:
getCerts
in interfaceMyProxyConnectable
-
getCerts
public LinkedList<X509Certificate> getCerts(edu.uiuc.ncsa.security.util.crypto.MyPKCS10CertRequest pkcs10CertRequest)
Description copied from interface:MyProxyConnectable
Retrieves a collection of certificates. Note this this is an ordered list since order matters in some context.- Specified by:
getCerts
in interfaceMyProxyConnectable
- Returns:
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceedu.uiuc.ncsa.security.core.Identifiable
-
setDescription
public void setDescription(String description)
- Specified by:
setDescription
in interfaceedu.uiuc.ncsa.security.core.Identifiable
-
getIdentifier
public edu.uiuc.ncsa.security.core.Identifier getIdentifier()
- Specified by:
getIdentifier
in interfaceedu.uiuc.ncsa.security.core.Identifiable
-
getIdentifierString
public String getIdentifierString()
- Specified by:
getIdentifierString
in interfaceedu.uiuc.ncsa.security.core.Identifiable
-
setIdentifier
public void setIdentifier(edu.uiuc.ncsa.security.core.Identifier identifier)
- Specified by:
setIdentifier
in interfaceedu.uiuc.ncsa.security.core.Identifiable
-
-