|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.core.security.SimpleLoginModule
public class 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 anonymous user id. |
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)
anonymousId - anonymous user idpublic String getDefaultUserId()
public void setDefaultUserId(String defaultUserId)
defaultUserId - default user id
public void initialize(Subject subject,
CallbackHandler callbackHandler,
Map sharedState,
Map options)
initialize in interface LoginModule
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 | |||||||||