Class ScramCallbackHandler

    • Constructor Detail

      • ScramCallbackHandler

        public ScramCallbackHandler()
    • Method Detail

      • handle

        public void handle​(javax.security.auth.callback.Callback[] callbacks)
                    throws java.io.IOException,
                           javax.security.auth.callback.UnsupportedCallbackException
        Specified by:
        handle in interface javax.security.auth.callback.CallbackHandler
        Throws:
        java.io.IOException
        javax.security.auth.callback.UnsupportedCallbackException
      • setDomain

        public void setDomain​(java.lang.String domain)
        Description copied from interface: DomainAware
        Sets name of domain from XMPP Stream.
        Specified by:
        setDomain in interface DomainAware
        Parameters:
        domain - domain name
      • handleAuthorizeCallback

        protected void handleAuthorizeCallback​(javax.security.sasl.AuthorizeCallback authCallback)
      • handleCallback

        protected void handleCallback​(javax.security.auth.callback.Callback callback)
                               throws javax.security.auth.callback.UnsupportedCallbackException,
                                      java.io.IOException
        Throws:
        javax.security.auth.callback.UnsupportedCallbackException
        java.io.IOException
      • handleNameCallback

        protected void handleNameCallback​(javax.security.auth.callback.NameCallback nc)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • handlePBKDIterationsCallback

        protected void handlePBKDIterationsCallback​(PBKDIterationsCallback callback)
      • handleSaltCallback

        protected void handleSaltCallback​(SaltCallback callback)
      • handleSaltedPasswordCallbackCallback

        protected void handleSaltedPasswordCallbackCallback​(SaltedPasswordCallback callback)