|
||||||||||
| 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.authentication.BasicAuthenticationManager
Basic http authentication based AuthenticationManager.
| Constructor Summary | |
BasicAuthenticationManager()
|
|
| 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 config)
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 BasicAuthenticationManager()
| Method Detail |
public void configure(Configuration config)
throws ConfigurationException
AuthenticationManager
configure in class AuthenticationManagerconfig - 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 | |||||||||