|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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.
| Method Summary | |
Principal |
authenticate(String username,
String password)
Authenticate a user. |
boolean |
isUserInRole(Principal principal,
String rolename)
Test for role membership. |
| Method Detail |
public Principal authenticate(String username,
String password)
username - a usernamepassword - a plain text password, as entered by the user
public boolean isUserInRole(Principal principal,
String rolename)
principal - 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 | ||||||||||