public class AmqpSaslAuthenticator extends Object
| Constructor and Description |
|---|
AmqpSaslAuthenticator(org.apache.qpid.proton.engine.Sasl sasl,
JmsConnectionInfo info,
Principal localPrincipal,
String[] mechanismsRestriction)
Create the authenticator and initialize it.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate()
Process the SASL authentication cycle until such time as an outcome is determine.
|
public AmqpSaslAuthenticator(org.apache.qpid.proton.engine.Sasl sasl,
JmsConnectionInfo info,
Principal localPrincipal,
String[] mechanismsRestriction)
sasl - The Proton SASL entry point this class will use to manage the authentication.info - The Connection information used to provide credentials to the remote peer.localPrincipal - The local Principal associated with the transport, or null if there is none.mechanismsRestriction - The possible mechanism(s) to which the client should restrict its
mechanism selection to if offered by the serverpublic boolean authenticate()
throws javax.jms.JMSSecurityException
javax.jms.JMSSecurityException - if a security violation is detected during the handshake.Copyright © 2013–2016 The Apache Software Foundation. All rights reserved.