public interface AccessControl
authorise(Operation, ObjectType, ObjectProperties)
,
returns the Result
of the security decision, which may be to Result.ABSTAIN
if no decision is made.Modifier and Type | Method and Description |
---|---|
Result |
authorise(Operation operation,
ObjectType objectType,
ObjectProperties properties)
Authorise an operation on an object defined by a set of properties.
|
void |
close()
Called to close any resources required by the implementation.
|
Result |
getDefault()
Default result for
authorise(Operation, ObjectType, ObjectProperties) . |
void |
onCreate()
Called when first creating (but not when recovering after startup) to allow
creating any resources required by the implementation.
|
void |
onDelete()
Called when deleting to allow clearing any resources used by the implementation.
|
void |
open()
Called to open any resources required by the implementation.
|
boolean |
validate() |
Result getDefault()
authorise(Operation, ObjectType, ObjectProperties)
.Result authorise(Operation operation, ObjectType objectType, ObjectProperties properties)
void open()
boolean validate()
void close()
void onDelete()
void onCreate()
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.