Keel 2.1RC2

org.keel.services.authorization
Interface Securable

All Known Subinterfaces:
InstanceSecurable, InvokationSecurable
All Known Implementing Classes:
Add, DefaultPersistentBase, DummyServiceBasicImpl, DummyServiceInstanceSecurable, HibernatePersistent, MailForm, Navigate, Prompt, PromptAdd, RowSecurablePersistent, RowSecurablePersistent, SecurableDefaultPersistentFactory, SecurableStandardLogEnabledModel

public interface Securable

Author:
Michael Nash Altered by Santanu Dutt

Method Summary
 AuthorizationManager getAuthorizationManager()
           
 void setAuthorizationManager(AuthorizationManager am)
          Provide the service with a security manager.
 

Method Detail

setAuthorizationManager

public void setAuthorizationManager(AuthorizationManager am)
                             throws ServiceException
Provide the service with a security manager. This security manager is used whenever a service needs to determine if the current principal is allowed to perform the requested operation. All instances of the same Securable service will have the same authorizations - if you need per- instance authorization, see InstanceSecurable.

Throws:
ServiceException

getAuthorizationManager

public AuthorizationManager getAuthorizationManager()

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.