net.sf.doolin.util
Interface AuthorizedUser

All Superinterfaces:
Principal

public interface AuthorizedUser
extends Principal

User with some authorizations

Author:
Damien Coraboeuf

Method Summary
 boolean isInRole(String role)
          Is the user in a role ?
 
Methods inherited from interface java.security.Principal
equals, getName, hashCode, toString
 

Method Detail

isInRole

boolean isInRole(String role)
Is the user in a role ?

Parameters:
role - Role to check
Returns:
true if the user is qualified for the role.


Copyright © 2011. All Rights Reserved.