|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.cas.authentication.principal.HttpBasedServiceCredentialsToPrincipalResolver
public final class HttpBasedServiceCredentialsToPrincipalResolver
HttpBasedServiceCredentialsToPrincipalResolver extracts the callbackUrl from the HttpBasedServiceCredentials and constructs a SimpleService with the callbackUrl as the unique Id.
| Constructor Summary | |
|---|---|
HttpBasedServiceCredentialsToPrincipalResolver()
|
|
| Method Summary | |
|---|---|
Principal |
resolvePrincipal(Credentials credentials)
Method to return a simple Service Principal with the identifier set to be the callback url. |
boolean |
supports(Credentials credentials)
Determine if a credentials type is supported by this resolver. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpBasedServiceCredentialsToPrincipalResolver()
| Method Detail |
|---|
public Principal resolvePrincipal(Credentials credentials)
resolvePrincipal in interface CredentialsToPrincipalResolvercredentials - from which to resolve Principal
public boolean supports(Credentials credentials)
CredentialsToPrincipalResolver
supports in interface CredentialsToPrincipalResolvercredentials - The credentials to check if we support.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||