| java.lang.Object org.objectweb.jonas.security.auth.callback.NoInputCallbackHandler
NoInputCallbackHandler | public class NoInputCallbackHandler implements CallbackHandler(Code) | | The username and password are given by the constructor No JNDI, datasource or
file checks.
author: Florent Benoit (initial developer) author: Alexandre Thaveau (add the use of certificates) author: Marc-Antoine Bourgeot (add the use of certificates) |
Method Summary | |
public void | handle(Callback[] callbacks) Invoke an array of Callbacks.
Parameters: callbacks - an array of Callback objects whichcontain the information requested by an underlying securityservice to be retrieved or displayed. throws: IOException - if an input or output error occurs. |
NoInputCallbackHandler | public NoInputCallbackHandler() throws Exception(Code) | | No default Constructor : must use the one with username and password
throws: Exception - if someone try to use it |
NoInputCallbackHandler | public NoInputCallbackHandler(String username, String password)(Code) | | Constructor
Parameters: username - username to store for the authentication Parameters: password - password to store for the authentication |
NoInputCallbackHandler | public NoInputCallbackHandler(String username, String password, Certificate cert)(Code) | | Constructor
Parameters: username - username to store for the authentication Parameters: password - password to store for the authentication Parameters: cert - the certificate for the authentication |
handle | public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException(Code) | | Invoke an array of Callbacks.
Parameters: callbacks - an array of Callback objects whichcontain the information requested by an underlying securityservice to be retrieved or displayed. throws: IOException - if an input or output error occurs. throws: UnsupportedCallbackException - if the implementation of this methoddoes not support one or more of the Callbacks specified in thecallbacks parameter.
|
|
|