public class CasRestAuthenticator extends Object implements Authenticator<UsernamePasswordCredentials>
Modifier and Type | Field and Description |
---|---|
protected CasConfiguration |
configuration |
Constructor and Description |
---|
CasRestAuthenticator(CasConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
void |
validate(UsernamePasswordCredentials credentials,
WebContext context)
Validate the credentials.
|
protected CasConfiguration configuration
public CasRestAuthenticator(CasConfiguration configuration)
public void validate(UsernamePasswordCredentials credentials, WebContext context)
Authenticator
CredentialsException
in case of failure.validate
in interface Authenticator<UsernamePasswordCredentials>
credentials
- the given credentialscontext
- the web contextCopyright © 2019. All rights reserved.