Package org.wildfly.security.sasl.util
Class AuthenticationTimeoutSaslServerFactory.DelegatingTimeoutSaslServer
- java.lang.Object
-
- org.wildfly.security.sasl.util.AbstractDelegatingSaslServer
-
- org.wildfly.security.sasl.util.AuthenticationTimeoutSaslServerFactory.DelegatingTimeoutSaslServer
-
- All Implemented Interfaces:
SaslServer
,SaslWrapper
- Enclosing class:
- AuthenticationTimeoutSaslServerFactory
private static class AuthenticationTimeoutSaslServerFactory.DelegatingTimeoutSaslServer extends AbstractDelegatingSaslServer
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
complete
private boolean
terminated
private ScheduledFuture<Void>
timeoutTask
-
Fields inherited from class org.wildfly.security.sasl.util.AbstractDelegatingSaslServer
delegate
-
Fields inherited from interface org.wildfly.security.sasl.util.SaslWrapper
IDENTITY
-
-
Constructor Summary
Constructors Constructor Description DelegatingTimeoutSaslServer(SaslServer delegate, ScheduledExecutorService scheduledExecutorService, long timeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
cancelTimeoutTask()
void
dispose()
byte[]
evaluateResponse(byte[] response)
-
Methods inherited from class org.wildfly.security.sasl.util.AbstractDelegatingSaslServer
getAuthorizationID, getMechanismName, getNegotiatedProperty, isComplete, toString, unwrap, wrap
-
-
-
-
Field Detail
-
complete
private boolean complete
-
terminated
private boolean terminated
-
timeoutTask
private ScheduledFuture<Void> timeoutTask
-
-
Constructor Detail
-
DelegatingTimeoutSaslServer
DelegatingTimeoutSaslServer(SaslServer delegate, ScheduledExecutorService scheduledExecutorService, long timeout)
-
-
Method Detail
-
evaluateResponse
public byte[] evaluateResponse(byte[] response) throws SaslException
- Specified by:
evaluateResponse
in interfaceSaslServer
- Overrides:
evaluateResponse
in classAbstractDelegatingSaslServer
- Throws:
SaslException
-
dispose
public void dispose() throws SaslException
- Specified by:
dispose
in interfaceSaslServer
- Overrides:
dispose
in classAbstractDelegatingSaslServer
- Throws:
SaslException
-
cancelTimeoutTask
private void cancelTimeoutTask()
-
-