org.pajes.security
Interface PrincipalRoles
- All Known Implementing Classes:
- DefaultPrincipalRoles
public interface PrincipalRoles
The PrincipalRoles interface is implemented by classes which maintain a list
of valid roles for a specific user.
|
Method Summary |
boolean |
isUserInRole(java.lang.String role)
Returns a boolean indicating whether the authenticated user is included
in the specified logical "role". |
isUserInRole
boolean isUserInRole(java.lang.String role)
- Returns a boolean indicating whether the authenticated user is included
in the specified logical "role".
- Parameters:
role - a String specifying the name of the role
- Returns:
- a
boolean indicating whether the user making this
request belongs to a given role; false if the user
has not been authenticated
Copyright © 1998-2007 Viridian Pty Limited. All Rights Reserved.