Class ServerSASLPlain

  • All Implemented Interfaces:
    ServerSASL
    Direct Known Subclasses:
    PlainSASL

    public class ServerSASLPlain
    extends java.lang.Object
    implements ServerSASL
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String NAME  
    • Constructor Summary

      Constructors 
      Constructor Description
      ServerSASLPlain()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean authenticate​(java.lang.String user, java.lang.String password)
      Hook for subclasses to perform the authentication here
      void done()  
      java.lang.String getName()  
      byte[] processSASL​(byte[] data)  
      SASLResult result()  
      • Methods inherited from class java.lang.Object

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

      • ServerSASLPlain

        public ServerSASLPlain()
    • Method Detail

      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface ServerSASL
      • processSASL

        public byte[] processSASL​(byte[] data)
        Specified by:
        processSASL in interface ServerSASL
      • done

        public void done()
        Specified by:
        done in interface ServerSASL
      • authenticate

        protected boolean authenticate​(java.lang.String user,
                                       java.lang.String password)
        Hook for subclasses to perform the authentication here
        Parameters:
        user -
        password -