public final class AuthorizationRuleImpl extends Object implements AuthorizationRule
| Constructor and Description |
|---|
AuthorizationRuleImpl(AuthenticationImplementation authenticator) |
| Modifier and Type | Method and Description |
|---|---|
NotifyFuture<AuthorizationResult> |
authorize(AuthorizationContext context)
Authorizes a requested operation
|
void |
dispose() |
protected AuthorizationResult |
process(AuthorizationContext context,
Future<UserInformation> future) |
public AuthorizationRuleImpl(AuthenticationImplementation authenticator)
public void dispose()
dispose in interface AuthorizationRulepublic NotifyFuture<AuthorizationResult> authorize(AuthorizationContext context)
AuthorizationRuleauthorize in interface AuthorizationRulenull. The
future will either receive null if the service
abstains (neither approves nor rejects the request).protected AuthorizationResult process(AuthorizationContext context, Future<UserInformation> future) throws Exception
ExceptionCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.