|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas.security.auth.callback.NoInputCallbackHandler
public class NoInputCallbackHandler
The username and password are given by the constructor No JNDI, datasource or file checks.
Constructor Summary | |
---|---|
NoInputCallbackHandler()
No default Constructor : must use the one with username and password |
|
NoInputCallbackHandler(String username,
String password)
Constructor |
|
NoInputCallbackHandler(String username,
String password,
Certificate cert)
Constructor |
Method Summary | |
---|---|
void |
handle(Callback[] callbacks)
Invoke an array of Callbacks. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NoInputCallbackHandler() throws Exception
Exception
- if someone try to use itpublic NoInputCallbackHandler(String username, String password)
username
- username to store for the authenticationpassword
- password to store for the authenticationpublic NoInputCallbackHandler(String username, String password, Certificate cert)
username
- username to store for the authenticationpassword
- password to store for the authenticationcert
- the certificate for the authenticationMethod Detail |
---|
public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
handle
in interface CallbackHandler
callbacks
- an array of Callback
objects which
contain the information requested by an underlying security
service to be retrieved or displayed.
IOException
- if an input or output error occurs.
UnsupportedCallbackException
- if the implementation of this method
does not support one or more of the Callbacks specified in the
callbacks
parameter.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |