Class UsernamePasswordCredentialsSource
java.lang.Object
org.kuali.rice.ksb.security.credentials.UsernamePasswordCredentialsSource
- All Implemented Interfaces:
CredentialsSource
Implementation of a CredentialsSource that contains a username and password.
Note that this implementation is for service-to-service authentication. It cannot handle user-to-service authentication.
- Since:
- 0.9
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Constructor Summary
ConstructorsConstructorDescriptionUsernamePasswordCredentialsSource(String username, String password) Constructor that accepts the username and password for which to construct UsernamePasswordAuthenticationToken's from. -
Method Summary
-
Constructor Details
-
UsernamePasswordCredentialsSource
Constructor that accepts the username and password for which to construct UsernamePasswordAuthenticationToken's from.- Parameters:
username- the username.password- the password.
-
-
Method Details
-
getCredentials
- Specified by:
getCredentialsin interfaceCredentialsSource
-
getSupportedCredentialsType
- Specified by:
getSupportedCredentialsTypein interfaceCredentialsSource
-