|
|||||||||
| Home >> All >> org >> securityfilter >> [ realm overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.securityfilter.realm
Interface SecurityRealmInterface

- All Known Implementing Classes:
- SimpleSecurityRealmBase
- public interface SecurityRealmInterface
SecurityRealmInterface - realm interface for SecurityFilter. Implement this interface to provide a realm implementation against which SecurityFilter can authenticate and authortize users. Typically, a project will implement this interface or adapt an existing realm implementation to this interface.
- Version:
- $Revision: 1.4 $ $Date: 2003/01/06 00:17:25 $
| Method Summary | |
java.security.Principal |
authenticate(java.lang.String username,
java.lang.String password)
Authenticate a user. |
boolean |
isUserInRole(java.security.Principal principal,
java.lang.String rolename)
Test for role membership. |
| Method Detail |
authenticate
public java.security.Principal authenticate(java.lang.String username, java.lang.String password)
- Authenticate a user.
isUserInRole
public boolean isUserInRole(java.security.Principal principal, java.lang.String rolename)
- Test for role membership.
Use Principal.getName() to get the username from the principal object.
|
|||||||||
| Home >> All >> org >> securityfilter >> [ realm overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC