Class ExternalSaslClient
- java.lang.Object
-
- org.wildfly.security.sasl.external.ExternalSaslClient
-
- All Implemented Interfaces:
SaslClient
,SaslWrapper
final class ExternalSaslClient extends Object implements SaslClient, SaslWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private byte[]
authorizationId
private boolean
complete
-
Fields inherited from interface org.wildfly.security.sasl.util.SaslWrapper
IDENTITY
-
-
Constructor Summary
Constructors Constructor Description ExternalSaslClient(String authorizationId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
byte[]
evaluateChallenge(byte[] challenge)
String
getMechanismName()
Object
getNegotiatedProperty(String propName)
boolean
hasInitialResponse()
boolean
isComplete()
byte[]
unwrap(byte[] incoming, int offset, int len)
byte[]
wrap(byte[] outgoing, int offset, int len)
-
-
-
Constructor Detail
-
ExternalSaslClient
ExternalSaslClient(String authorizationId)
-
-
Method Detail
-
getMechanismName
public String getMechanismName()
- Specified by:
getMechanismName
in interfaceSaslClient
-
hasInitialResponse
public boolean hasInitialResponse()
- Specified by:
hasInitialResponse
in interfaceSaslClient
-
evaluateChallenge
public byte[] evaluateChallenge(byte[] challenge) throws SaslException
- Specified by:
evaluateChallenge
in interfaceSaslClient
- Throws:
SaslException
-
isComplete
public boolean isComplete()
- Specified by:
isComplete
in interfaceSaslClient
-
unwrap
public byte[] unwrap(byte[] incoming, int offset, int len) throws SaslException
- Specified by:
unwrap
in interfaceSaslClient
- Specified by:
unwrap
in interfaceSaslWrapper
- Throws:
SaslException
-
wrap
public byte[] wrap(byte[] outgoing, int offset, int len) throws SaslException
- Specified by:
wrap
in interfaceSaslClient
- Specified by:
wrap
in interfaceSaslWrapper
- Throws:
SaslException
-
getNegotiatedProperty
public Object getNegotiatedProperty(String propName)
- Specified by:
getNegotiatedProperty
in interfaceSaslClient
-
dispose
public void dispose() throws SaslException
- Specified by:
dispose
in interfaceSaslClient
- Throws:
SaslException
-
-