com.cafesoft.cams.auth.callback
Class AutoLoginNamePasswordCallbackHandler

java.lang.Object
  |
  +--com.cafesoft.cams.auth.callback.NamePasswordCallbackHandler
        |
        +--com.cafesoft.cams.auth.callback.AutoLoginNamePasswordCallbackHandler
All Implemented Interfaces:
CallbackHandler

public class AutoLoginNamePasswordCallbackHandler
extends NamePasswordCallbackHandler

CallbackHandler interface for JAAS LoginModules that must prompt for input. Provides the specified username and password when prompted by the Callback.

Since:
10/26/04

Constructor Summary
AutoLoginNamePasswordCallbackHandler()
          Create a new AutoLoginNamePasswordCallbackHandler object.
AutoLoginNamePasswordCallbackHandler(String username, String password)
          Create a new AutoLoginNamePasswordCallbackHandler object.
 
Method Summary
 void setAutologin_credentials(String autologincredentials)
          Set the autologin_credentials callback value.
 void setAutologin_flag(String autologinflag)
          Set the autologin_flag callback value.
 
Methods inherited from class com.cafesoft.cams.auth.callback.NamePasswordCallbackHandler
handle, setPassword, setSession_id, setUsername
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoLoginNamePasswordCallbackHandler

public AutoLoginNamePasswordCallbackHandler()
Create a new AutoLoginNamePasswordCallbackHandler object.

Since:
1.0

AutoLoginNamePasswordCallbackHandler

public AutoLoginNamePasswordCallbackHandler(String username,
                                            String password)
Create a new AutoLoginNamePasswordCallbackHandler object.

Parameters:
username - the username to provide when prompted.
password - the password to provide when prompted.
Since:
1.0
Method Detail

setAutologin_flag

public void setAutologin_flag(String autologinflag)
Set the autologin_flag callback value.

Parameters:
autologinflag - the value of the autologin_flag callback.
Since:
1.0

setAutologin_credentials

public void setAutologin_credentials(String autologincredentials)
Set the autologin_credentials callback value.

Parameters:
autologincredentials - the value of the autologin_credentials callback.
Since:
1.0


Generated on 8:41:50 AM June 06, 2005, © 1996-2005 Cafésoft LLC. All rights reserved.