|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.security.auth.login.RemoteLoginModule
public class RemoteLoginModule
The remote authenticator's login module implementation.
| Constructor Summary | |
|---|---|
RemoteLoginModule()
|
|
| Method Summary | |
|---|---|
boolean |
abort()
Aborts the login attempt. |
boolean |
commit()
Completes the login by adding the user and the user's groups to the subject. |
void |
initialize(Subject subject,
CallbackHandler callbackHandler,
Map sharedState,
Map options)
Initialize a login attempt. |
boolean |
login()
Attempt to login. |
boolean |
logout()
Logout. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteLoginModule()
| Method Detail |
|---|
public void initialize(Subject subject,
CallbackHandler callbackHandler,
Map sharedState,
Map options)
initialize in interface LoginModulesubject - the Subject this login attempt will populate.callbackhandler - the CallbackHandler that can be used to
get the user name, and in authentication mode, the user's passwordsharedState - A Map containing data shared between login
modules when there are multiple authenticators configured.RemoteLoginModule does not use this parameter.options - A Map containing options that the authenticator's
authentication provider impl wants to pass to its login module impl."org.openmdx.security.realm1.cci.Realm":
(mandatory)
The realm's object id, i.e.
"xri://@openmdx*org.openmdx.secuyrity.realm1/provider/‹provider name›/segment/‹sement name›/realm/‹realm name›
"javax.jdo.PersistenceManagerFactory":
(mandatory)
A JDO persistence manager factory instance.
"javax.security.auth.callback.NameCallback.prompt":
(optional)
The prompt to be used by the
javax.security.auth.callback.NameCallback
"javax.security.auth.callback.PasswordCallback.prompt":
(optional)
The prompt to be used by the
javax.security.auth.callback.PasswordCallback supporting the
following placeholders
${name} The NameCallback's name
${challenge} The credential's challenge
"javax.security.auth.callback.TextOutputCallback.realm":
(optional)
The prompt to be used by the
javax.security.auth.callback.TextOutputCallback
for realm information supporting the following placeholders
${realm.id} The realm path's base name
${realm.xri} The realm path's XRI
"javax.security.auth.callback.PasswordCallback.echoOn":
(optional)
one of
- a
java.lang.Boolean
telling whether the
javax.security.auth.callback.PasswordCallback's
echo is to be switched on or not
- a
java.utilSet of
org.openmdx.security.realm1.cci.ValidationResult
codes requiring their
javax.security.auth.callback.PasswordCallback's
echo to be switched on
NullPointerException - if one of the following options is missing"org.openmdx.security.realm1.cci.Realm"
"javax.jdo.PersistenceManagerFactory"
public boolean login()
throws LoginException
login in interface LoginModuleLoginException
public boolean commit()
throws LoginException
commit in interface LoginModuleLoginException
public boolean abort()
throws LoginException
abort in interface LoginModuleLoginException
public boolean logout()
throws LoginException
logout in interface LoginModuleLoginException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||