net.drijf.javaone
Interface Role

All Known Implementing Classes:
RoleImpl

public interface Role

This interface defines how to retrieve the collection of permissions associated with a role.

Author:
Otto Moerbeek

Method Summary
 java.lang.String getName()
          Return the name of this role.
 java.security.PermissionCollection getPermissions()
          Return the permission associated with this role.
 

Method Detail

getPermissions

public java.security.PermissionCollection getPermissions()
Return the permission associated with this role.

getName

public java.lang.String getName()
Return the name of this role.