org.nakedobjects.runtime.authorization.standard
Interface Authorizor

All Superinterfaces:
ApplicationScopedComponent, Component
All Known Implementing Classes:
AuthorizorAbstract, FileAuthorizor, LdapAuthorizor, NoopAuthorizor

public interface Authorizor
extends ApplicationScopedComponent


Method Summary
 boolean isUsableInRole(java.lang.String role, Identifier identifier)
          Checked for each of the user's roles.
 boolean isVisibleInRole(java.lang.String user, Identifier identifier)
          Checked for each of the user's roles.
 
Methods inherited from interface org.nakedobjects.metamodel.commons.component.ApplicationScopedComponent
init, shutdown
 

Method Detail

isVisibleInRole

boolean isVisibleInRole(java.lang.String user,
                        Identifier identifier)
Checked for each of the user's roles.


isUsableInRole

boolean isUsableInRole(java.lang.String role,
                       Identifier identifier)
Checked for each of the user's roles.



Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.