|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.anwrt.anycontent.authentication.AuthenticationManager
com.anwrt.anycontent.plugins.core.authentication.CASUserAuthenticationManager
This manager gets the credentials given by an authentification CAS filter.
The filter must set the 'remote user' header into the request.
This manager can not get the password of the connected user: the user is
already authentified. This manager should not be associated with an
AuthenticableBaseUser
| Constructor Summary | |
CASUserAuthenticationManager()
|
|
| Method Summary | |
boolean |
accept(Request request)
Mathod called by AuthenticateAction before asking for credentials. |
void |
allowed(Request request,
Response response,
Redirector redirector)
Mathod called by AuthenticateAction after authentication process succeeded |
void |
configure(Configuration configuration)
Configuration of this AuthenticationManager. |
Credentials |
getCredentials(java.util.Map objectModel,
Redirector redirector)
Method called by AuthenticateAction each time a request need authentication. |
void |
notAllowed(Request request,
Response response,
Redirector redirector)
Method called by AuthenticateAction each a user could not get authenticated. |
boolean |
validate(java.util.Map objectModel,
Redirector redirector)
Validates this AuthenticationManager. |
| Methods inherited from class com.anwrt.anycontent.authentication.AuthenticationManager |
redirect |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CASUserAuthenticationManager()
| Method Detail |
public void configure(Configuration configuration)
throws ConfigurationException
AuthenticationManager
configure in class AuthenticationManagerconfiguration - the Configuration persisted in the WEB-INF/config/authentication.xml file
ConfigurationException
public boolean validate(java.util.Map objectModel,
Redirector redirector)
throws java.lang.Exception
AuthenticationManager
validate in class AuthenticationManagerobjectModel - the cocoon object model.redirector - the cocoon Redirector that can be used for redirecting response.
java.lang.Exception - if something wrong occurspublic boolean accept(Request request)
AuthenticationManager
accept in class AuthenticationManagerrequest - the current Request
public Credentials getCredentials(java.util.Map objectModel,
Redirector redirector)
throws java.lang.Exception
AuthenticationManager
getCredentials in class AuthenticationManagerobjectModel - the cocoon object model.redirector - the cocoon redirector.
java.lang.Exception - if something wrong occurs
public void notAllowed(Request request,
Response response,
Redirector redirector)
throws java.lang.Exception
AuthenticationManager
notAllowed in class AuthenticationManagerrequest - the HttpRequest.response - the HttpResponse.redirector - the cocoon Redirector that can be used for redirecting response.
java.lang.Exception - if something wrong occurs
public void allowed(Request request,
Response response,
Redirector redirector)
AuthenticationManager
allowed in class AuthenticationManagerrequest - the HttpRequest.response - the HttpResponse.redirector - the cocoon Redirector that can be used for redirecting response.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||