Class ExternalSaslServer
- java.lang.Object
 - 
- org.wildfly.security.sasl.external.ExternalSaslServer
 
 
- 
- All Implemented Interfaces:
 SaslServer
final class ExternalSaslServer extends Object implements SaslServer
- Author:
 - David M. Lloyd
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description private StringauthorizationIDprivate CallbackHandlercbhprivate booleancomplete 
- 
Constructor Summary
Constructors Constructor Description ExternalSaslServer(CallbackHandler cbh) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose()byte[]evaluateResponse(byte[] response)StringgetAuthorizationID()StringgetMechanismName()ObjectgetNegotiatedProperty(String propName)booleanisComplete()byte[]unwrap(byte[] incoming, int offset, int len)byte[]wrap(byte[] outgoing, int offset, int len) 
 - 
 
- 
- 
Field Detail
- 
cbh
private final CallbackHandler cbh
 
- 
complete
private boolean complete
 
- 
authorizationID
private String authorizationID
 
 - 
 
- 
Constructor Detail
- 
ExternalSaslServer
ExternalSaslServer(CallbackHandler cbh)
 
 - 
 
- 
Method Detail
- 
getMechanismName
public String getMechanismName()
- Specified by:
 getMechanismNamein interfaceSaslServer
 
- 
evaluateResponse
public byte[] evaluateResponse(byte[] response) throws SaslException- Specified by:
 evaluateResponsein interfaceSaslServer- Throws:
 SaslException
 
- 
isComplete
public boolean isComplete()
- Specified by:
 isCompletein interfaceSaslServer
 
- 
getAuthorizationID
public String getAuthorizationID()
- Specified by:
 getAuthorizationIDin interfaceSaslServer
 
- 
unwrap
public byte[] unwrap(byte[] incoming, int offset, int len) throws SaslException- Specified by:
 unwrapin interfaceSaslServer- Throws:
 SaslException
 
- 
wrap
public byte[] wrap(byte[] outgoing, int offset, int len) throws SaslException- Specified by:
 wrapin interfaceSaslServer- Throws:
 SaslException
 
- 
getNegotiatedProperty
public Object getNegotiatedProperty(String propName)
- Specified by:
 getNegotiatedPropertyin interfaceSaslServer
 
- 
dispose
public void dispose() throws SaslException- Specified by:
 disposein interfaceSaslServer- Throws:
 SaslException
 
 - 
 
 -