Keel 2.1RC2

org.keel.services.authorization.defaultauth.tests
Class DummyServiceBasicImpl

java.lang.Object
  extended byorg.keel.services.authorization.defaultauth.tests.DummyServiceBasicImpl
All Implemented Interfaces:
DummyService, Securable

public class DummyServiceBasicImpl
extends java.lang.Object
implements DummyService, Securable


Field Summary
private  AuthorizationManager myAuthManager
           
 
Fields inherited from interface org.keel.services.authorization.defaultauth.tests.DummyService
ROLE
 
Constructor Summary
DummyServiceBasicImpl()
           
 
Method Summary
 AuthorizationManager getAuthorizationManager()
           
 java.lang.String getValue()
           
 void setAuthorizationManager(AuthorizationManager newAuth)
          Provide the service with a security manager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myAuthManager

private AuthorizationManager myAuthManager
Constructor Detail

DummyServiceBasicImpl

public DummyServiceBasicImpl()
Method Detail

getValue

public java.lang.String getValue()
Specified by:
getValue in interface DummyService

getAuthorizationManager

public AuthorizationManager getAuthorizationManager()
Specified by:
getAuthorizationManager in interface Securable

setAuthorizationManager

public void setAuthorizationManager(AuthorizationManager newAuth)
Description copied from interface: Securable
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.

Specified by:
setAuthorizationManager in interface Securable

Keel 2.1RC2

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