JavaScript is disabled on your browser.
gnu.inet.util

Class SaslLogin

  • All Implemented Interfaces:
    javax.security.sasl.SaslClient


    public class SaslLogin
    extends java.lang.Object
    implements javax.security.sasl.SaslClient
    SASL mechanism for LOGIN.
    • Constructor Summary

      Constructors
      Constructor and Description
      SaslLogin (java.lang.String username, java.lang.String password)
    • Method Summary

      Methods
      Modifier and Type Method and Description
      void dispose ()
      byte[] evaluateChallenge (byte[] challenge)
      java.lang.String getMechanismName ()
      java.lang.Object getNegotiatedProperty (java.lang.String name)
      boolean hasInitialResponse ()
      boolean isComplete ()
      byte[] unwrap (byte[] incoming, int off, int len)
      byte[] wrap (byte[] outgoing, int off, int len)
      • Methods inherited from class java.lang.Object

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

      • SaslLogin

        public SaslLogin(java.lang.String username,
         java.lang.String password)
    • Method Detail

      • getMechanismName

        public java.lang.String getMechanismName()
        Specified by:
        getMechanismName in interface javax.security.sasl.SaslClient
      • hasInitialResponse

        public boolean hasInitialResponse()
        Specified by:
        hasInitialResponse in interface javax.security.sasl.SaslClient
      • evaluateChallenge

        public byte[] evaluateChallenge(byte[] challenge)
         throws javax.security.sasl.SaslException
        Specified by:
        evaluateChallenge in interface javax.security.sasl.SaslClient
        Throws:
        javax.security.sasl.SaslException
      • isComplete

        public boolean isComplete()
        Specified by:
        isComplete in interface javax.security.sasl.SaslClient
      • unwrap

        public byte[] unwrap(byte[] incoming,
         int off,
         int len)
         throws javax.security.sasl.SaslException
        Specified by:
        unwrap in interface javax.security.sasl.SaslClient
        Throws:
        javax.security.sasl.SaslException
      • wrap

        public byte[] wrap(byte[] outgoing,
         int off,
         int len)
         throws javax.security.sasl.SaslException
        Specified by:
        wrap in interface javax.security.sasl.SaslClient
        Throws:
        javax.security.sasl.SaslException
      • getNegotiatedProperty

        public java.lang.Object getNegotiatedProperty(java.lang.String name)
        Specified by:
        getNegotiatedProperty in interface javax.security.sasl.SaslClient
      • dispose

        public void dispose()
        Specified by:
        dispose in interface javax.security.sasl.SaslClient

AltStyle によって変換されたページ (->オリジナル) /