public class DefaultAuthorization extends Object implements AuthorizationImplementation
The default implementation will allow everything and has one special rule for
the logon process. When the request is for
SESSION
and
CONNECT
the call will be directed to a local held instance of
LogonAuthorizationService which is configured to use the provided
AuthenticationImplementation for authentication.
Now if the logon service accepts for abstains the logon and with it the while authorization will be successful.
Constructor and Description |
---|
DefaultAuthorization(AuthenticationImplementation authenticator) |
Modifier and Type | Method and Description |
---|---|
NotifyFuture<AuthorizationReply> |
authorize(AuthorizationContext context,
AuthorizationResult defaultResult) |
public DefaultAuthorization(AuthenticationImplementation authenticator)
public NotifyFuture<AuthorizationReply> authorize(AuthorizationContext context, AuthorizationResult defaultResult)
authorize
in interface AuthorizationImplementation