| org.acegisecurity.adapters.catalina.CatalinaAcegiUserRealm
CatalinaAcegiUserRealm | public class CatalinaAcegiUserRealm extends RealmBase (Code) | | Adapter to enable Catalina (Tomcat) to authenticate via the Acegi Security System for Spring. Returns a
PrincipalAcegiUserToken to Catalina's authentication system, which is subsequently available via
HttpServletRequest.getUserPrincipal() .
author: Ben Alex version: $Id: CatalinaAcegiUserRealm.java 1496 2006-05-23 13:38:33Z benalex $ |
Method Summary | |
public Principal | authenticate(String username, String credentials) | public Principal | authenticate(String username, byte[] credentials) | public java.security.Principal | authenticate(java.lang.String username, java.lang.String digest, java.lang.String nonce, java.lang.String nc, java.lang.String cnonce, java.lang.String qop, java.lang.String realm, java.lang.String md5a2) | public Principal | authenticate(X509Certificate[] x509Certificates) | public String | getAppContextLocation() | public String | getKey() | protected String | getName() | protected String | getPassword(String arg0) | protected Principal | getPrincipal(String arg0) | public boolean | hasRole(Principal principal, String role) | public void | setAppContextLocation(String appContextLocation) | public void | setKey(String key) | public void | start() Provides the method that Catalina will use to start the container. | protected void | startForTest() Provides a method to load the container adapter without delegating to the superclass, which cannot
operate outside the Catalina container. |
authenticate | public Principal authenticate(X509Certificate[] x509Certificates)(Code) | | Not supported, returns null
Parameters: x509Certificates - DOCUMENT ME! DOCUMENT ME! |
getAppContextLocation | public String getAppContextLocation()(Code) | | |
getPassword | protected String getPassword(String arg0)(Code) | | Always returns null (we override authenticate methods)
Parameters: arg0 - DOCUMENT ME! DOCUMENT ME! |
getPrincipal | protected Principal getPrincipal(String arg0)(Code) | | Always returns null (we override authenticate methods)
Parameters: arg0 - DOCUMENT ME! DOCUMENT ME! |
setAppContextLocation | public void setAppContextLocation(String appContextLocation)(Code) | | |
start | public void start() throws LifecycleException(Code) | | Provides the method that Catalina will use to start the container.
throws: LifecycleException - if a problem is detected |
startForTest | protected void startForTest() throws LifecycleException(Code) | | Provides a method to load the container adapter without delegating to the superclass, which cannot
operate outside the Catalina container.
throws: LifecycleException - if a problem is detected |
|
|