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 AuthorizationRule
public NotifyFuture<AuthorizationResult> authorize(AuthorizationContext context)
AuthorizationRule
authorize
in interface AuthorizationRule
null
. 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
Exception
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.