Class MapRSaslImplBase

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected boolean completed  
      protected java.lang.String negotiatedQOPProperty  
      protected int rawSendSize
      Specifies the maximum size of the raw send buffer in bytes of SaslClient/SaslServer.
      protected int recvMaxBufSize
      Specifies the maximum size of the receive buffer in bytes of SaslClient/SaslServer.
      protected com.mapr.fs.proto.Security.Key sessionKey  
    • Constructor Summary

      Constructors 
      Constructor Description
      MapRSaslImplBase​(java.util.Map<java.lang.String,​?> props)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMechanismName()  
      java.lang.Object getNegotiatedProperty​(java.lang.String propName)  
      boolean isComplete()  
      byte[] unwrap​(byte[] incoming, int offset, int len)  
      byte[] wrap​(byte[] outgoing, int offset, int len)  
      • Methods inherited from class java.lang.Object

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

      • completed

        protected boolean completed
      • negotiatedQOPProperty

        protected java.lang.String negotiatedQOPProperty
      • sessionKey

        protected com.mapr.fs.proto.Security.Key sessionKey
      • rawSendSize

        protected int rawSendSize
        Specifies the maximum size of the raw send buffer in bytes of SaslClient/SaslServer.
      • recvMaxBufSize

        protected int recvMaxBufSize
        Specifies the maximum size of the receive buffer in bytes of SaslClient/SaslServer. If configured, its value should be same on both the client and the server.
    • Constructor Detail

      • MapRSaslImplBase

        public MapRSaslImplBase​(java.util.Map<java.lang.String,​?> props)
                         throws javax.security.sasl.SaslException
        Throws:
        javax.security.sasl.SaslException
    • Method Detail

      • getMechanismName

        public java.lang.String getMechanismName()
      • isComplete

        public boolean isComplete()
      • getNegotiatedProperty

        public java.lang.Object getNegotiatedProperty​(java.lang.String propName)
      • unwrap

        public byte[] unwrap​(byte[] incoming,
                             int offset,
                             int len)
                      throws javax.security.sasl.SaslException
        Throws:
        javax.security.sasl.SaslException
      • wrap

        public byte[] wrap​(byte[] outgoing,
                           int offset,
                           int len)
                    throws javax.security.sasl.SaslException
        Throws:
        javax.security.sasl.SaslException