public final class UsernamePasswordCredentialsSource extends Object implements CredentialsSource
Note that this implementation is for service-to-service authentication. It cannot handle user-to-service authentication.
| Constructor and Description |
|---|
UsernamePasswordCredentialsSource(String username,
String password)
Constructor that accepts the username and password for which to construct
UsernamePasswordAuthenticationToken's from.
|
| Modifier and Type | Method and Description |
|---|---|
Credentials |
getCredentials(String serviceEndpoint) |
CredentialsType |
getSupportedCredentialsType() |
public UsernamePasswordCredentialsSource(String username, String password)
username - the username.password - the password.public Credentials getCredentials(String serviceEndpoint)
getCredentials in interface CredentialsSourcepublic CredentialsType getSupportedCredentialsType()
getSupportedCredentialsType in interface CredentialsSourceCopyright © 2005–2017 The Kuali Foundation. All rights reserved.