|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CasRealm
Describes Tomcat Realm implementations that do not require password
for authentication.
| Method Summary | |
|---|---|
Principal |
authenticate(Principal p)
Authenticates the given principal. |
String[] |
getRoles(Principal p)
Gets the roles defined for the given principal. |
boolean |
hasRole(Principal principal,
String role)
Determines whether the given principal possesses the given role. |
| Method Detail |
|---|
Principal authenticate(Principal p)
p - Principal to authenticate.
String[] getRoles(Principal p)
p - the principal to retrieve the roles for.
boolean hasRole(Principal principal,
String role)
principal - Principal to evaluate.role - Role to test for possession.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||