PAJES 2.3.9

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

public 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 2.3.9

Copyright © 2002-2003 Viridian Pty Limited. All Rights Reserved.