|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AuthenticatedPrincipal
An interface to an authenticated user. It defines the hasRole
method used by AccessContollerMBeans when checking user's permissions to
system resources.
| Method Summary | |
|---|---|
String |
getDomain()
Gets the domain of the principal. |
Object |
getId()
Gets the id of the principal. |
Locale |
getLocale()
Gets the locale of the principal. |
ObjectName |
getRealmName()
Gets the realm of the principal. |
String |
getRealName()
Gets the real name of the principal. |
boolean |
hasRole(String role)
Checks whether this principal has the specified role. |
void |
setLocale(Locale loc)
Sets the locale of the principal. |
| Methods inherited from interface java.security.Principal |
|---|
equals, getName, hashCode, toString |
| Method Detail |
|---|
boolean hasRole(String role)
role - the role to be checked.
ObjectName getRealmName()
String getDomain()
String getRealName()
Locale getLocale()
void setLocale(Locale loc)
loc - the locale.Object getId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||