org.nakedobjects.runtime.authorization.standard
Class AuthorizationManagerStandard
java.lang.Object
org.nakedobjects.runtime.authorization.AuthorizationManagerAbstract
org.nakedobjects.runtime.authorization.standard.AuthorizationManagerStandard
- All Implemented Interfaces:
- ApplicationScopedComponent, Component, AuthorizationManager
public class AuthorizationManagerStandard
- extends AuthorizationManagerAbstract
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthorizationManagerStandard
public AuthorizationManagerStandard(NakedObjectConfiguration configuration)
init
public void init()
shutdown
public void shutdown()
isUsable
public boolean isUsable(AuthenticationSession session,
NakedObject target,
Identifier identifier)
- Description copied from interface:
AuthorizationManager
- Returns true when the use represented by the specified session is authorised to change the field
represented by the member identifier. Normally the specified field will be not appear editable if this
returns false.
isVisible
public boolean isVisible(AuthenticationSession session,
NakedObject target,
Identifier identifier)
- Description copied from interface:
AuthorizationManager
- Returns true when the user represented by the specified session is authorised to view the member of the
class/object represented by the member identifier. Normally the view of the specified field, or the
display of the action will be suppress if this returns false.
setAuthorizor
protected void setAuthorizor(Authorizor authorisor)
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.