|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.core.security.SimpleLoginModule
A SimpleLoginModule
...
Constructor Summary | |
SimpleLoginModule()
Constructor |
Method Summary | |
boolean |
abort()
|
boolean |
commit()
|
String |
getAnonymousId()
Returns the anonymous user id. |
String |
getDefaultUserId()
Returns the default user id. |
void |
initialize(Subject subject,
CallbackHandler callbackHandler,
Map sharedState,
Map options)
|
boolean |
login()
|
boolean |
logout()
|
void |
setAnonymousId(String anonymousId)
Sets the default user id to be used when no login credentials are presented. |
void |
setDefaultUserId(String defaultUserId)
Sets the default user id to be used when no login credentials are presented. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SimpleLoginModule()
Method Detail |
public String getAnonymousId()
public void setAnonymousId(String anonymousId)
public String getDefaultUserId()
public void setDefaultUserId(String defaultUserId)
defaultUserId
- default user idpublic void initialize(Subject subject, CallbackHandler callbackHandler, Map sharedState, Map options)
initialize
in interface LoginModule
public boolean login() throws LoginException
login
in interface LoginModule
LoginException
public boolean commit() throws LoginException
commit
in interface LoginModule
LoginException
public boolean abort() throws LoginException
abort
in interface LoginModule
LoginException
public boolean logout() throws LoginException
logout
in interface LoginModule
LoginException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |