Class JaasPasswordCallbackHandler

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handle​(javax.security.auth.callback.Callback callback, Authentication auth)
      If the callback passed to the 'handle' method is an instance of PasswordCallback, the JaasPasswordCallbackHandler will call, callback.setPassword(authentication.getCredentials().toString()).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JaasPasswordCallbackHandler

        public JaasPasswordCallbackHandler()
    • Method Detail

      • handle

        public void handle​(javax.security.auth.callback.Callback callback,
                           Authentication auth)
        If the callback passed to the 'handle' method is an instance of PasswordCallback, the JaasPasswordCallbackHandler will call, callback.setPassword(authentication.getCredentials().toString()).
        Specified by:
        handle in interface JaasAuthenticationCallbackHandler
        Parameters:
        callback -
        auth -