public class AuthorizationModule<T> extends Module
Module
that describes how Authorization or Un-Authorized interactions need to be handled.
The AuthorizationModule
presents the IAuthorizationService
also.Constructor and Description |
---|
AuthorizationModule() |
Modifier and Type | Method and Description |
---|---|
IAuthorizationService |
getAuthorizationService() |
T |
handleAuthState(IAuthorizationService.AuthState state) |
void |
setAuthorizationService(IAuthorizationService authorizationService) |
getAuthorizableId, getAuthorizableIdAssignable, getAuthorizations, getControllable, getDisplayName, getEnabled, getModule, getName, getPermissableAuths, getSubModules, isControllable, isEnabled, moduleName, safeDisplayName, setAuthorizableId, setAuthorizableIdAssignable, setAuthorizations, setControllable, setDisplayName, setEnabled, setEnabled, setModule, setName, setPermissableAuths, setSubModules
public T handleAuthState(IAuthorizationService.AuthState state) throws AuthorizationException
state
- as IAuthorizationService.AuthState
AuthorizationException
public IAuthorizationService getAuthorizationService()
public void setAuthorizationService(IAuthorizationService authorizationService)
Copyright © 2018. All rights reserved.