|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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(java.lang.String username,
java.lang.String password)
Constructor |
|
NoInputCallbackHandler(java.lang.String username,
java.lang.String password,
java.security.cert.Certificate cert)
Constructor |
Method Summary | |
---|---|
void |
handle(javax.security.auth.callback.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 java.lang.Exception
java.lang.Exception
- if someone try to use itpublic NoInputCallbackHandler(java.lang.String username, java.lang.String password)
username
- username to store for the authenticationpassword
- password to store for the authenticationpublic NoInputCallbackHandler(java.lang.String username, java.lang.String password, java.security.cert.Certificate cert)
username
- username to store for the authenticationpassword
- password to store for the authenticationcert
- the certificate for the authenticationMethod Detail |
---|
public void handle(javax.security.auth.callback.Callback[] callbacks) throws java.io.IOException, javax.security.auth.callback.UnsupportedCallbackException
handle
in interface javax.security.auth.callback.CallbackHandler
callbacks
- an array of Callback
objects which
contain the information requested by an underlying security
service to be retrieved or displayed.
java.io.IOException
- if an input or output error occurs.
javax.security.auth.callback.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 |