public interface CommandAuthenticator
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAuthenticated(Command command)
The given command will be authenticated by some security mechanism determined by the implementor of this method.
|
void |
setServiceContainer(ServiceContainer serviceContainer)
This sets the object that is handling the communications and is what received the command that needs to be authenticated.
|
boolean isAuthenticated(Command command)
command - the command to authenticatetrue if the command passes the security checks and can be processed. false if
the command failed to be authenticated - in this case, the command should be rejected and no further
processing of the command should take placevoid setServiceContainer(ServiceContainer serviceContainer)
custom data that can be retrieved by the
authenticator if needed. This method is only called once when the authenticator object is created.serviceContainer - Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.