|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the authentication manager. It is used to authenticate (login, logout) a user. Usually, this component should not be used from custom code. The provided actions perform all required tasks.
Field Summary | |
static String |
ROLE
The Avalon Role |
Method Summary | |
boolean |
checkAuthentication(Redirector redirector,
String handlerName,
String applicationName)
Is the current user authenticated for the given handler? |
SessionContext |
createApplicationContext(String name,
String loadURI,
String saveURI)
Create Application Context. |
RequestState |
getState()
Get the current state of authentication |
UserHandler |
isAuthenticated(String handlerName)
Is the current user authenticated for the given handler? |
UserHandler |
login(String handlerName,
String applicationName,
SourceParameters parameters)
Try to login the user. |
void |
logout(String handlerName,
int mode)
Perform a logout of the user. |
Field Detail |
public static final String ROLE
Method Detail |
public UserHandler isAuthenticated(String handlerName) throws ProcessingException
ProcessingException
public boolean checkAuthentication(Redirector redirector, String handlerName, String applicationName) throws ProcessingException, IOException
RequestState
is updated to the provided information (handler and application).
ProcessingException
IOException
public UserHandler login(String handlerName, String applicationName, SourceParameters parameters) throws ProcessingException
null
is returned.
ProcessingException
public void logout(String handlerName, int mode) throws ProcessingException
ProcessingException
public RequestState getState()
public SessionContext createApplicationContext(String name, String loadURI, String saveURI) throws ProcessingException
ProcessingException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |