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.Identifiableclone()voidclose()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.StringgetDescription()edu.uiuc.ncsa.security.core.IdentifiergetIdentifier()StringgetIdentifierString()MyProxyLogongetMyProxyLogon()booleanisReadOnly()voidopen()Establish a connection to a Myproxy server.voidsetDescription(String description)voidsetIdentifier(edu.uiuc.ncsa.security.core.Identifier identifier)voidsetLifetime(long certLifetime)voidsetReadOnly(boolean readOnly)StringtoString()
-
-
-
Constructor Detail
-
MyProxyLogonConnection
public MyProxyLogonConnection(MyProxyLogon myProxyLogon)
-
-
Method Detail
-
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnlyin interfaceedu.uiuc.ncsa.security.core.Identifiable
-
setReadOnly
public void setReadOnly(boolean readOnly)
- Specified by:
setReadOnlyin interfaceedu.uiuc.ncsa.security.core.Identifiable
-
setLifetime
public void setLifetime(long certLifetime)
- Specified by:
setLifetimein interfaceMyProxyConnectable
-
getMyProxyLogon
public MyProxyLogon getMyProxyLogon()
-
close
public void close()
Description copied from interface:MyProxyConnectableEnds the connection to the MyProxy server cleanly- Specified by:
closein interfaceMyProxyConnectable
-
open
public void open()
Description copied from interface:MyProxyConnectableEstablish a connection to a Myproxy server.- Specified by:
openin interfaceMyProxyConnectable
-
getCerts
public LinkedList<X509Certificate> getCerts(byte[] pkcs10CertRequest)
- Specified by:
getCertsin interfaceMyProxyConnectable
-
getCerts
public LinkedList<X509Certificate> getCerts(edu.uiuc.ncsa.security.util.crypto.MyPKCS10CertRequest pkcs10CertRequest)
Description copied from interface:MyProxyConnectableRetrieves a collection of certificates. Note this this is an ordered list since order matters in some context.- Specified by:
getCertsin interfaceMyProxyConnectable- Returns:
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceedu.uiuc.ncsa.security.core.Identifiable
-
setDescription
public void setDescription(String description)
- Specified by:
setDescriptionin interfaceedu.uiuc.ncsa.security.core.Identifiable
-
getIdentifier
public edu.uiuc.ncsa.security.core.Identifier getIdentifier()
- Specified by:
getIdentifierin interfaceedu.uiuc.ncsa.security.core.Identifiable
-
getIdentifierString
public String getIdentifierString()
- Specified by:
getIdentifierStringin interfaceedu.uiuc.ncsa.security.core.Identifiable
-
setIdentifier
public void setIdentifier(edu.uiuc.ncsa.security.core.Identifier identifier)
- Specified by:
setIdentifierin interfaceedu.uiuc.ncsa.security.core.Identifiable
-
-