PAJES 3.0.21

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".
 

Method Detail

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

PAJES 3.0.21

Copyright © 1998-2007 Viridian Pty Limited. All Rights Reserved.