|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
User Principal. Extends the security principal with a method to check if the user is in a role.
| Method Summary | |
boolean |
isAuthenticated()
Check authentication status. |
boolean |
isUserInRole(java.lang.String role)
Check if the user is in a role. |
| Methods inherited from interface java.security.Principal |
equals, getName, hashCode, toString |
| Method Detail |
public boolean isAuthenticated()
public boolean isUserInRole(java.lang.String role)
role - A role name.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||