Class LDAPCallbacks
- java.lang.Object
-
- com.sun.identity.authentication.modules.ldap.LDAPCallbacks
-
public class LDAPCallbacks extends Object
-
-
Constructor Summary
Constructors Constructor Description LDAPCallbacks(CallbackHandler callbackHandler, ResourceBundle bundle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetConfirmPWD()protected StringgetNewPWD()protected StringgetOldPWD()protected StringgetUserName()protected StringgetUserPWD()voidsendMessage(int type, String msg)Instantiates and passes aTextOutputCallbackto theinvokeCallbackmethod of aCallbackHandlerto display information messages, warning messages and error messages.voidsetLoginScreen()Instantiates and passes a callbacks to theinvokeCallbackmethod of aCallbackHandlerto ask for user name and password to procees Login Page.voidsetPwdExpiryScreen()Instantiates and passes a callbacks to theinvokeCallbackmethod of aCallbackHandlerto ask for old, new and confirm passwords to procees change password screen.
-
-
-
Constructor Detail
-
LDAPCallbacks
public LDAPCallbacks(CallbackHandler callbackHandler, ResourceBundle bundle)
-
-
Method Detail
-
setLoginScreen
public void setLoginScreen() throws LoginExceptionInstantiates and passes a callbacks to theinvokeCallbackmethod of aCallbackHandlerto ask for user name and password to procees Login Page.- Throws:
LoginException
-
setPwdExpiryScreen
public void setPwdExpiryScreen() throws LoginExceptionInstantiates and passes a callbacks to theinvokeCallbackmethod of aCallbackHandlerto ask for old, new and confirm passwords to procees change password screen.- Throws:
LoginException
-
sendMessage
public void sendMessage(int type, String msg) throws LoginExceptionInstantiates and passes aTextOutputCallbackto theinvokeCallbackmethod of aCallbackHandlerto display information messages, warning messages and error messages.- Parameters:
type-msg-- Throws:
LoginException
-
getUserName
protected String getUserName()
-
getUserPWD
protected String getUserPWD()
-
getOldPWD
protected String getOldPWD()
-
getNewPWD
protected String getNewPWD()
-
getConfirmPWD
protected String getConfirmPWD()
-
-