public class RequestSignatureRuleImpl extends Object implements AuthorizationRule
| Constructor and Description |
|---|
RequestSignatureRuleImpl(ScheduledExecutorService executor,
SignatureRequestBuilder builder,
RequestValidator validator,
X509KeySelector keySelector,
AuditLogService auditLogService,
boolean indent,
ScriptExecutor postProcessor,
AuthenticationImplementation authenticator,
int reloadPeriod) |
| Modifier and Type | Method and Description |
|---|---|
NotifyFuture<AuthorizationResult> |
authorize(AuthorizationContext context)
Authorizes a requested operation
|
void |
dispose() |
protected void |
reload() |
protected AuthorizationResult |
validateCallback(AuthorizationContext context,
Document doc,
XMLSignatureCallback callback) |
public RequestSignatureRuleImpl(ScheduledExecutorService executor, SignatureRequestBuilder builder, RequestValidator validator, X509KeySelector keySelector, AuditLogService auditLogService, boolean indent, ScriptExecutor postProcessor, AuthenticationImplementation authenticator, int reloadPeriod)
protected void reload()
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 validateCallback(AuthorizationContext context, Document doc, XMLSignatureCallback callback)
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.