org.nakedobjects.runtime.authorization.standard.noop
Class NoopAuthorizor

java.lang.Object
  extended by org.nakedobjects.runtime.authorization.standard.noop.NoopAuthorizor
All Implemented Interfaces:
ApplicationScopedComponent, Component, Authorizor

public class NoopAuthorizor
extends java.lang.Object
implements Authorizor


Constructor Summary
NoopAuthorizor()
           
 
Method Summary
 void init()
           
 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.
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoopAuthorizor

public NoopAuthorizor()
Method Detail

init

public void init()
Specified by:
init in interface ApplicationScopedComponent

shutdown

public void shutdown()
Specified by:
shutdown in interface ApplicationScopedComponent

isUsableInRole

public boolean isUsableInRole(java.lang.String role,
                              Identifier identifier)
Description copied from interface: Authorizor
Checked for each of the user's roles.

Specified by:
isUsableInRole in interface Authorizor

isVisibleInRole

public boolean isVisibleInRole(java.lang.String user,
                               Identifier identifier)
Description copied from interface: Authorizor
Checked for each of the user's roles.

Specified by:
isVisibleInRole in interface Authorizor


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