public class ProxiedAuthentication extends AbstractAuthentication
Constructor and Description |
---|
ProxiedAuthentication(java.lang.String clientID,
DOConnection conn) |
Modifier and Type | Method and Description |
---|---|
AbstractAuthentication |
cloneAuthentication()
The following must be implemented by subclasses of AbstractAuthentication
in order to provide a copy of themselves for the purposes of
authenticating when retrieving their credentials.
|
java.security.cert.Certificate[] |
getCredentials()
Returns an empty list since the proxied authentication returns a list of credentials
in the signChallenge() method.
|
java.lang.String |
getID()
Returns the identifier of the entity whose authentication is being proxied
|
void |
signChallenge(HeaderSet challenge,
HeaderSet response)
Signs the given challenge message and puts the result (including any required
parameters) into the given HeaderSet object.
|
net.handle.hdllib.AuthenticationInfo |
toHandleAuth()
Returns this authentication in a form that will work with handle system
administration.
|
getAnonymousAuth, setAutoRetrieveCredentials, setCredentials
public ProxiedAuthentication(java.lang.String clientID, DOConnection conn)
public java.lang.String getID()
public void signChallenge(HeaderSet challenge, HeaderSet response) throws java.lang.Exception
java.lang.Exception
public java.security.cert.Certificate[] getCredentials()
getCredentials
in interface DOAuthentication
getCredentials
in class AbstractAuthentication
public net.handle.hdllib.AuthenticationInfo toHandleAuth()
public AbstractAuthentication cloneAuthentication()
cloneAuthentication
in class AbstractAuthentication