|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.sgs.impl.kernel.IdentityCoordinatorImpl
class IdentityCoordinatorImpl
This package-private implementation of IdentityCoordinator is
the implementation used by the system when configuring an application. It
manages an ordered collection of IdentityAuthenticators. The
ordering is used to determine precidence when more than one authenticator
can consume the same credentials.
This implementation is kept private to this package so that the context can be assigned, safely, after the coordinator is created. An instance of the coordinator is needed before the context can be created.
| Constructor Summary | |
|---|---|
IdentityCoordinatorImpl(List<IdentityAuthenticator> authenticators)
Creates an instance of IdentityCoordinatorImpl that has
the given IdentityAuthenticators available to authenticate
identities. |
|
| Method Summary | |
|---|---|
Identity |
authenticateIdentity(IdentityCredentials credentials)
Authenticates the given credentials. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IdentityCoordinatorImpl(List<IdentityAuthenticator> authenticators)
IdentityCoordinatorImpl that has
the given IdentityAuthenticators available to authenticate
identities. The order of the authenticators determines precidence
when more than one authenticator supports a given credentials type.
authenticators - the available IdentityAuthenticators| Method Detail |
|---|
public Identity authenticateIdentity(IdentityCredentials credentials)
throws LoginException
authenticateIdentity in interface IdentityCoordinatorcredentials - the IdentityCredentials to authenticate
Identity that has not been
notified of login
CredentialException - if the authenticator for the credentials
is unknown
LoginException - if authentication fails
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||