org.nakedobjects.plugins.hibernate.authorization
Class DatabaseAuthorizor

java.lang.Object
  extended by org.nakedobjects.runtime.authorization.standard.AuthorizorAbstract
      extended by org.nakedobjects.plugins.hibernate.authorization.DatabaseAuthorizor
All Implemented Interfaces:
ApplicationScopedComponent, Component, Authorizor

public class DatabaseAuthorizor
extends AuthorizorAbstract


Constructor Summary
DatabaseAuthorizor(NakedObjectConfiguration configuration)
           
 
Method Summary
 void init()
           
 boolean isAuthorised(java.lang.String role, Identifier member, java.lang.Integer flag)
           
 boolean isUsableInRole(java.lang.String role, Identifier member)
           
 boolean isVisibleInRole(java.lang.String role, Identifier member)
           
 void shutdown()
           
 
Methods inherited from class org.nakedobjects.runtime.authorization.standard.AuthorizorAbstract
getConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseAuthorizor

public DatabaseAuthorizor(NakedObjectConfiguration configuration)
Method Detail

init

public void init()

shutdown

public void shutdown()

isUsableInRole

public boolean isUsableInRole(java.lang.String role,
                              Identifier member)

isVisibleInRole

public boolean isVisibleInRole(java.lang.String role,
                               Identifier member)

isAuthorised

public boolean isAuthorised(java.lang.String role,
                            Identifier member,
                            java.lang.Integer flag)


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