public class AuthorizationManagerStandard extends AuthorizationManagerAbstract implements DebuggableWithTitle
| Constructor and Description |
|---|
AuthorizationManagerStandard(IsisConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
debugData(DebugBuilder debug)
Debug details describing the object being investigated
|
String |
debugTitle()
The title for the debug information
|
void |
init()
Indicates to the component that it is to initialise itself.
|
boolean |
isUsable(AuthenticationSession session,
ObjectAdapter target,
org.apache.isis.applib.Identifier identifier)
Returns true when the use represented by the specified session is
authorised to change the field represented by the member identifier.
|
boolean |
isVisible(AuthenticationSession session,
ObjectAdapter target,
org.apache.isis.applib.Identifier identifier)
Returns true when the user represented by the specified session is
authorised to view the member of the class/object represented by the
member identifier.
|
void |
refineMetaModelValidator(MetaModelValidatorComposite baseMetaModelValidator,
IsisConfiguration configuration) |
void |
refineProgrammingModel(ProgrammingModel baseProgrammingModel,
IsisConfiguration configuration) |
protected void |
setAuthorizor(Authorizor authorisor) |
void |
shutdown()
Indicates to the component that it will no longer be used and should shut
itself down cleanly.
|
getConfigurationpublic AuthorizationManagerStandard(IsisConfiguration configuration)
public void init()
ApplicationScopedComponentinit in interface ApplicationScopedComponentpublic void shutdown()
ApplicationScopedComponentshutdown in interface ApplicationScopedComponentpublic boolean isUsable(AuthenticationSession session, ObjectAdapter target, org.apache.isis.applib.Identifier identifier)
AuthorizationManagerisUsable in interface AuthorizationManagerpublic boolean isVisible(AuthenticationSession session, ObjectAdapter target, org.apache.isis.applib.Identifier identifier)
AuthorizationManagerisVisible in interface AuthorizationManagerpublic void refineMetaModelValidator(MetaModelValidatorComposite baseMetaModelValidator, IsisConfiguration configuration)
refineMetaModelValidator in interface MetaModelValidatorRefinerpublic void refineProgrammingModel(ProgrammingModel baseProgrammingModel, IsisConfiguration configuration)
refineProgrammingModel in interface MetaModelRefinerpublic String debugTitle()
DebuggableWithTitledebugTitle in interface DebuggableWithTitlepublic void debugData(DebugBuilder debug)
DebuggabledebugData in interface Debuggableprotected void setAuthorizor(Authorizor authorisor)
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.