public class ExternalSaslServer extends Object implements SaslServer
Constructor and Description |
---|
ExternalSaslServer(Principal externalPrincipal,
boolean useFullDN) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
byte[] |
evaluateResponse(byte[] response) |
Principal |
getAuthenticatedPrincipal() |
String |
getAuthorizationID() |
String |
getMechanismName() |
Object |
getNegotiatedProperty(String propName) |
boolean |
isComplete() |
byte[] |
unwrap(byte[] incoming,
int offset,
int len) |
byte[] |
wrap(byte[] outgoing,
int offset,
int len) |
public static final String MECHANISM
public ExternalSaslServer(Principal externalPrincipal, boolean useFullDN)
public String getMechanismName()
getMechanismName
in interface SaslServer
public byte[] evaluateResponse(byte[] response) throws SaslException
evaluateResponse
in interface SaslServer
SaslException
public boolean isComplete()
isComplete
in interface SaslServer
public String getAuthorizationID()
getAuthorizationID
in interface SaslServer
public byte[] unwrap(byte[] incoming, int offset, int len) throws SaslException
unwrap
in interface SaslServer
SaslException
public byte[] wrap(byte[] outgoing, int offset, int len) throws SaslException
wrap
in interface SaslServer
SaslException
public Object getNegotiatedProperty(String propName)
getNegotiatedProperty
in interface SaslServer
public void dispose() throws SaslException
dispose
in interface SaslServer
SaslException
public Principal getAuthenticatedPrincipal()
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.