org.kuali.rice.ksb.security.credentials
Class X509CredentialsSource
java.lang.Object
org.kuali.rice.ksb.security.credentials.X509CredentialsSource
- All Implemented Interfaces:
- CredentialsSource
public final class X509CredentialsSource
- extends Object
- implements CredentialsSource
Implementation of a CredentialsSource that returns an X509 Certificate.
Note that this class is for service-to-service authentication, not
user-to-service authentication.
- Since:
- 0.9
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
X509Certificate
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
X509CredentialsSource
public X509CredentialsSource(X509Certificate certificate)
getCredentials
public Credentials getCredentials(String serviceEndpoint)
- Description copied from interface:
CredentialsSource
- Returns the SecurityContext which should have the proper credentials to
give to any system requiring credentials. This class has no guarantees
what a user will do with the credentials and should thus always return a
thread-safe version.
- Specified by:
getCredentials
in interface CredentialsSource
- Returns:
- the credentials, or null if credentials could not be obtained.
getSupportedCredentialsType
public CredentialsType getSupportedCredentialsType()
- Description copied from interface:
CredentialsSource
- Returns the supported CredentialsType. This should never be null.
- Specified by:
getSupportedCredentialsType
in interface CredentialsSource
- Returns:
- the supported credentials type.
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.