tigase.auth.mechanisms
Class AbstractSasl
java.lang.Object
tigase.auth.mechanisms.AbstractSasl
- All Implemented Interfaces:
- SaslServer
- Direct Known Subclasses:
- SaslANONYMOUS, SaslEXTERNAL, SaslPLAIN
public abstract class AbstractSasl
- extends Object
- implements SaslServer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
authorizedId
protected String authorizedId
callbackHandler
protected final CallbackHandler callbackHandler
complete
protected boolean complete
negotiatedProperty
protected final Map<String,Object> negotiatedProperty
props
protected final Map<? super String,?> props
AbstractSasl
protected AbstractSasl(Map<? super String,?> props,
CallbackHandler callbackHandler)
isEmpty
protected static final boolean isEmpty(Object x)
dispose
public void dispose()
throws SaslException
- Specified by:
dispose in interface SaslServer
- Throws:
SaslException
getNegotiatedProperty
public Object getNegotiatedProperty(String propName)
- Specified by:
getNegotiatedProperty in interface SaslServer
handleCallbacks
protected void handleCallbacks(Callback... callbacks)
throws SaslException
- Throws:
SaslException
isComplete
public boolean isComplete()
- Specified by:
isComplete in interface SaslServer
split
protected String[] split(byte[] byteArray,
String defaultValue)
Copyright © 2013 Tigase. All rights reserved.