Class SaslServerState


  • public class SaslServerState
    extends java.lang.Object
    Server side Sasl implementation.
    • Constructor Summary

      Constructors 
      Constructor Description
      SaslServerState​(ServerConfiguration serverConfiguration, javax.security.auth.Subject subject, java.util.regex.Pattern allowedIdsPattern)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getUserName()  
      boolean isComplete()  
      byte[] response​(byte[] token)  
      • Methods inherited from class java.lang.Object

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

      • SaslServerState

        public SaslServerState​(ServerConfiguration serverConfiguration,
                               javax.security.auth.Subject subject,
                               java.util.regex.Pattern allowedIdsPattern)
                        throws java.io.IOException,
                               javax.security.sasl.SaslException,
                               javax.security.auth.login.LoginException
        Throws:
        java.io.IOException
        javax.security.sasl.SaslException
        javax.security.auth.login.LoginException
    • Method Detail

      • isComplete

        public boolean isComplete()
      • getUserName

        public java.lang.String getUserName()
      • response

        public byte[] response​(byte[] token)
                        throws javax.security.sasl.SaslException
        Throws:
        javax.security.sasl.SaslException