|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.securityfilter.realm.catalina.CatalinaRealmAdapter
CatalinaRealmAdapter - adapts a Catalina Realm for use with the securityfilter
| Constructor Summary | |
CatalinaRealmAdapter()
|
|
| Method Summary | |
Principal |
authenticate(String username,
String password)
Authenticate a user. |
boolean |
isUserInRole(Principal principal,
String rolename)
Test for role membership. |
void |
setRealm(Object realm)
Set the Catalina Realm that we are to adapt. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CatalinaRealmAdapter()
| Method Detail |
public void setRealm(Object realm)
public Principal authenticate(String username,
String password)
authenticate in interface SecurityRealmInterfaceusername - a usernamepassword - a plain text password, as entered by the user
public boolean isUserInRole(Principal principal,
String rolename)
isUserInRole in interface SecurityRealmInterfaceprincipal - Principal object representing a userrolename - name of a role to test for membership
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||