Class AnonServer
- java.lang.Object
-
- com.swiftmq.impl.amqp.sasl.provider.AnonServer
-
- All Implemented Interfaces:
javax.security.sasl.SaslServer
public class AnonServer extends java.lang.Object implements javax.security.sasl.SaslServer
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
MECHNAME
-
Constructor Summary
Constructors Constructor Description AnonServer(javax.security.auth.callback.CallbackHandler callbackHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
byte[]
evaluateResponse(byte[] bytes)
java.lang.String
getAuthorizationID()
java.lang.String
getMechanismName()
java.lang.Object
getNegotiatedProperty(java.lang.String s)
boolean
isComplete()
byte[]
unwrap(byte[] bytes, int i, int i1)
byte[]
wrap(byte[] bytes, int i, int i1)
-
-
-
Field Detail
-
MECHNAME
public static final java.lang.String MECHNAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMechanismName
public java.lang.String getMechanismName()
- Specified by:
getMechanismName
in interfacejavax.security.sasl.SaslServer
-
evaluateResponse
public byte[] evaluateResponse(byte[] bytes) throws javax.security.sasl.SaslException
- Specified by:
evaluateResponse
in interfacejavax.security.sasl.SaslServer
- Throws:
javax.security.sasl.SaslException
-
isComplete
public boolean isComplete()
- Specified by:
isComplete
in interfacejavax.security.sasl.SaslServer
-
getAuthorizationID
public java.lang.String getAuthorizationID()
- Specified by:
getAuthorizationID
in interfacejavax.security.sasl.SaslServer
-
unwrap
public byte[] unwrap(byte[] bytes, int i, int i1) throws javax.security.sasl.SaslException
- Specified by:
unwrap
in interfacejavax.security.sasl.SaslServer
- Throws:
javax.security.sasl.SaslException
-
wrap
public byte[] wrap(byte[] bytes, int i, int i1) throws javax.security.sasl.SaslException
- Specified by:
wrap
in interfacejavax.security.sasl.SaslServer
- Throws:
javax.security.sasl.SaslException
-
getNegotiatedProperty
public java.lang.Object getNegotiatedProperty(java.lang.String s)
- Specified by:
getNegotiatedProperty
in interfacejavax.security.sasl.SaslServer
-
dispose
public void dispose() throws javax.security.sasl.SaslException
- Specified by:
dispose
in interfacejavax.security.sasl.SaslServer
- Throws:
javax.security.sasl.SaslException
-
-