Class AuthenticationContextSaslClient

java.lang.Object
org.wildfly.security.sasl.util.AbstractDelegatingSaslClient
org.wildfly.security.sasl.auth.util.AuthenticationContextSaslClient
All Implemented Interfaces:
SaslClient, org.wildfly.security.sasl.util.SaslWrapper

public final class AuthenticationContextSaslClient extends org.wildfly.security.sasl.util.AbstractDelegatingSaslClient
A delegating SaslClient which establishes a specific AuthenticationContext for the duration of the authentication process.
Author:
David M. Lloyd
  • Field Summary

    Fields inherited from class org.wildfly.security.sasl.util.AbstractDelegatingSaslClient

    delegate

    Fields inherited from interface org.wildfly.security.sasl.util.SaslWrapper

    IDENTITY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Construct a new instance.
    AuthenticationContextSaslClient(SaslClient delegate, org.wildfly.security.auth.client.AuthenticationContext context)
    Construct a new instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    byte[]
    evaluateChallenge(byte[] challenge)
     

    Methods inherited from class org.wildfly.security.sasl.util.AbstractDelegatingSaslClient

    getMechanismName, getNegotiatedProperty, hasInitialResponse, isComplete, toString, unwrap, wrap

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AuthenticationContextSaslClient

      public AuthenticationContextSaslClient(SaslClient delegate, org.wildfly.security.auth.client.AuthenticationContext context)
      Construct a new instance.
      Parameters:
      delegate - the delegate SASL client
      context - the authentication context to use
    • AuthenticationContextSaslClient

      public AuthenticationContextSaslClient(SaslClient delegate)
      Construct a new instance.
      Parameters:
      delegate - the delegate SASL client
  • Method Details

    • evaluateChallenge

      public byte[] evaluateChallenge(byte[] challenge) throws SaslException
      Specified by:
      evaluateChallenge in interface SaslClient
      Overrides:
      evaluateChallenge in class org.wildfly.security.sasl.util.AbstractDelegatingSaslClient
      Throws:
      SaslException
    • dispose

      public void dispose() throws SaslException
      Specified by:
      dispose in interface SaslClient
      Overrides:
      dispose in class org.wildfly.security.sasl.util.AbstractDelegatingSaslClient
      Throws:
      SaslException