Class LDAPCallbacks


  • public class LDAPCallbacks
    extends Object
    • Method Detail

      • setLoginScreen

        public void setLoginScreen()
                            throws LoginException
        Instantiates and passes a callbacks to the invokeCallback method of a CallbackHandler to ask for user name and password to procees Login Page.
        Throws:
        LoginException - if no callback handler is available or the login callbacks cannot be presented to the user
      • setPwdExpiryScreen

        public void setPwdExpiryScreen()
                                throws LoginException
        Instantiates and passes a callbacks to the invokeCallback method of a CallbackHandler to ask for old, new and confirm passwords to procees change password screen.
        Throws:
        LoginException - if no callback handler is available or the change password callbacks cannot be presented to the user
      • sendMessage

        public void sendMessage​(int type,
                                String msg)
                         throws LoginException
        Instantiates and passes a TextOutputCallback to the invokeCallback method of a CallbackHandler to display information messages, warning messages and error messages.
        Parameters:
        type - the message type to display, one of the TextOutputCallback constants (information, warning or error)
        msg - the message text to display to the user
        Throws:
        LoginException - if no callback handler is available or the message callback cannot be presented to the user
      • getUserName

        protected String getUserName()
      • getUserPWD

        protected String getUserPWD()
      • getOldPWD

        protected String getOldPWD()
      • getNewPWD

        protected String getNewPWD()
      • getConfirmPWD

        protected String getConfirmPWD()