public class BasicPrincipalResolver extends Object implements PrincipalResolver
Credential.getId() onto
Principal.getId().| Constructor and Description |
|---|
BasicPrincipalResolver() |
| Modifier and Type | Method and Description |
|---|---|
Principal |
resolve(Credential credential)
Resolves a principal from the given credential using an arbitrary strategy.
|
boolean |
supports(Credential credential)
Determines whether this instance supports principal resolution from the given credential.
|
public Principal resolve(Credential credential)
PrincipalResolverresolve in interface PrincipalResolvercredential - Source credential.public boolean supports(Credential credential)
PrincipalResolverPrincipalResolver.resolve(org.jasig.cas.authentication.Credential).supports in interface PrincipalResolvercredential - The credential to check for support.Copyright © 2004-2014 Jasig. All Rights Reserved.