| com.rift.coad.daemon.tomcat.security.CoadunationRealm
CoadunationRealm | public class CoadunationRealm extends RealmBase implements Realm(Code) | | This object is responsible acting as a Tomcat Realm but authenticating the
calls off of Coadunation.
author: brett |
Field Summary | |
protected Logger | log |
Method Summary | |
public Principal | authenticate(String username, String credentials) Return the Principal associated with the specified username and
credentials, if there is one; otherwise return null . | public Principal | authenticate(String username, byte[] credentials) Return the Principal associated with the specified username and
credentials, if there is one; otherwise return null . | protected String | getName() This method returns the name of this realm. | protected String | getPassword(String username) This method returns the password associated with the given username. | protected Principal | getPrincipal(String username) | public boolean | hasResourcePermission(Request request, Response response, SecurityConstraint[] constraints, org.apache.catalina.Context context) |
CoadunationRealm | public CoadunationRealm()(Code) | | Creates a new instance of CoadunationRealm
|
authenticate | public Principal authenticate(String username, String credentials)(Code) | | Return the Principal associated with the specified username and
credentials, if there is one; otherwise return null .
Parameters: username - Username of the Principal to look up Parameters: credentials - Password or other credentials to use in authenticatingthis username |
authenticate | public Principal authenticate(String username, byte[] credentials)(Code) | | Return the Principal associated with the specified username and
credentials, if there is one; otherwise return null .
Parameters: username - Username of the Principal to look up Parameters: credentials - Password or other credentials to use in authenticatingthis username |
getName | protected String getName()(Code) | | This method returns the name of this realm.
|
getPassword | protected String getPassword(String username)(Code) | | This method returns the password associated with the given username.
|
getPrincipal | protected Principal getPrincipal(String username)(Code) | | This method returns the principal for the requested user
|
hasResourcePermission | public boolean hasResourcePermission(Request request, Response response, SecurityConstraint[] constraints, org.apache.catalina.Context context) throws IOException(Code) | | This method is here for debug purposes
|
|
|