Class SASLBaseOperationImpl

    • Field Detail

      • mech

        protected final java.lang.String[] mech
      • challenge

        protected final byte[] challenge
      • serverName

        protected final java.lang.String serverName
      • props

        protected final java.util.Map<java.lang.String,​?> props
      • cbh

        protected final javax.security.auth.callback.CallbackHandler cbh
    • Constructor Detail

      • SASLBaseOperationImpl

        public SASLBaseOperationImpl​(byte c,
                                     java.lang.String[] m,
                                     byte[] ch,
                                     java.lang.String s,
                                     java.util.Map<java.lang.String,​?> p,
                                     javax.security.auth.callback.CallbackHandler h,
                                     OperationCallback cb)
    • Method Detail

      • buildResponse

        protected abstract byte[] buildResponse​(javax.security.sasl.SaslClient sc)
                                         throws javax.security.sasl.SaslException
        Throws:
        javax.security.sasl.SaslException
      • decodePayload

        protected void decodePayload​(byte[] pl)
        Description copied from class: OperationImpl
        Decode the given payload for this command.
        Overrides:
        decodePayload in class OperationImpl
        Parameters:
        pl - the payload.
      • finishedPayload

        protected void finishedPayload​(byte[] pl)
                                throws java.io.IOException
        Overrides:
        finishedPayload in class OperationImpl
        Throws:
        java.io.IOException