|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jalios.jcms.authentication.AuthenticationHandler
com.jalios.jcms.authentication.handlers.SilentParamsAuthenticationHandler
public class SilentParamsAuthenticationHandler
Read the authentification from the "silent" parameter, silentLogin,
silentPassword.
| Field Summary | |
|---|---|
static int |
ORDER_SILENT_PARAM_HANDLER
Order used by the SilentParamsAuthenticationHandler |
static String |
REVISION
|
| Fields inherited from class com.jalios.jcms.authentication.AuthenticationHandler |
|---|
channel, GENERIC_BAD_AUTHENTICATION_MSG |
| Method Summary | |
|---|---|
static Member |
checkAuthenticationFromSilentParams(javax.servlet.http.HttpServletRequest request)
Returns the member corresponding to the given "silent" credentials given in the request (silentLogin, silentPassword). |
static SilentParamsAuthenticationHandler |
getInstance()
|
void |
loadProperties()
This method will be called by the AuthenticationManager each time the Channel properties are loaded/reloaded. |
void |
login(AuthenticationContext ctxt)
Authenticate a member. |
| Methods inherited from class com.jalios.jcms.authentication.AuthenticationHandler |
|---|
compareTo, equals, getOrder, init, logout, setOrder |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String REVISION
public static final int ORDER_SILENT_PARAM_HANDLER
| Method Detail |
|---|
public static final SilentParamsAuthenticationHandler getInstance()
public void loadProperties()
AuthenticationHandler
loadProperties in class AuthenticationHandler
public void login(AuthenticationContext ctxt)
throws IOException
AuthenticationHandlerAuthenticationContext object (request, response, login.. etc) AuthenticationContext.setLoggedMember(com.jalios.jcms.Member)AuthenticationContext.doChain(),AuthenticationContext.
login in class AuthenticationHandlerctxt - the AuthenticationContext used for this login
IOException
public static final Member checkAuthenticationFromSilentParams(javax.servlet.http.HttpServletRequest request)
throws IOException
request - the request where to look for silent params
IOException - if the underneath login operation with the silentLogin/silentPassword could not be performed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||