Package tigase.auth.mechanisms
Class AbstractSasl
java.lang.Object
tigase.auth.mechanisms.AbstractSasl
- All Implemented Interfaces:
SaslServer
- Direct Known Subclasses:
AbstractSaslSCRAM
,SaslANONYMOUS
,SaslEXTERNAL
,SaslPLAIN
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected final CallbackHandler
protected boolean
protected final Logger
static String
static final String
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractSasl
(Map<? super String, ?> props, CallbackHandler callbackHandler) -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
getNegotiatedProperty
(String propName) protected void
handleCallbacks
(Callback... callbacks) static boolean
boolean
protected static final boolean
protected String[]
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.security.sasl.SaslServer
evaluateResponse, getAuthorizationID, getMechanismName, unwrap, wrap
-
Field Details
-
SASL_STRICT_MODE_KEY
- See Also:
-
PASSWORD_NOT_VERIFIED_MSG
-
callbackHandler
-
log
-
negotiatedProperty
-
props
-
authorizedId
-
complete
protected boolean complete
-
-
Constructor Details
-
AbstractSasl
-
-
Method Details
-
isAuthzIDIgnored
public static boolean isAuthzIDIgnored() -
isEmpty
-
dispose
public void dispose()- Specified by:
dispose
in interfaceSaslServer
-
getNegotiatedProperty
- Specified by:
getNegotiatedProperty
in interfaceSaslServer
-
handleCallbacks
- Throws:
SaslException
-
isComplete
public boolean isComplete()- Specified by:
isComplete
in interfaceSaslServer
-
split
-