org.objectweb.jonas.security.auth.callback.NoInputCallbackHandler Class Reference

List of all members.

Public Member Functions

 NoInputCallbackHandler () throws Exception
 NoInputCallbackHandler (String username, String password)
 NoInputCallbackHandler (String username, String password, Certificate cert)
void handle (Callback[] callbacks) throws IOException, UnsupportedCallbackException

Detailed Description

The username and password are given by the constructor No JNDI, datasource or file checks.
Author:
Florent Benoit (initial developer)

Alexandre Thaveau (add the use of certificates)

Marc-Antoine Bourgeot (add the use of certificates)

Definition at line 44 of file NoInputCallbackHandler.java.


Constructor & Destructor Documentation

org.objectweb.jonas.security.auth.callback.NoInputCallbackHandler.NoInputCallbackHandler  )  throws Exception
 

No default Constructor : must use the one with username and password

Exceptions:
Exception if someone try to use it

Definition at line 65 of file NoInputCallbackHandler.java.

org.objectweb.jonas.security.auth.callback.NoInputCallbackHandler.NoInputCallbackHandler String  username,
String  password
 

Constructor

Parameters:
username username to store for the authentication
password password to store for the authentication

Definition at line 75 of file NoInputCallbackHandler.java.

org.objectweb.jonas.security.auth.callback.NoInputCallbackHandler.NoInputCallbackHandler String  username,
String  password,
Certificate  cert
 

Constructor

Parameters:
username username to store for the authentication
password password to store for the authentication
cert the certificate for the authentication

Definition at line 86 of file NoInputCallbackHandler.java.


Member Function Documentation

void org.objectweb.jonas.security.auth.callback.NoInputCallbackHandler.handle Callback[]  callbacks  )  throws IOException, UnsupportedCallbackException
 

Invoke an array of Callbacks.

Parameters:
callbacks an array of Callback objects which contain the information requested by an underlying security service to be retrieved or displayed.
Exceptions:
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.

Definition at line 101 of file NoInputCallbackHandler.java.

References org.objectweb.jonas.security.auth.callback.CertificateCallback.setUserCertificate().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:07:39 2005 for JOnAS by  doxygen 1.3.9.1