Class AmqpPrincipal

  extended by com.kaazing.gateway.amqp.server.spi.AmqpPrincipal
All Implemented Interfaces:

public class AmqpPrincipal
extends Object
implements Principal

AmqpPrincipal is used to inject credentials into AMQP 0.9.1 messages. To implement single-sign-on, developers can setup AmqpPrincipal in the Subject their existing LoginModule implementation like this:

The username and password from AmqpPrincipal will be encoded using AMQPLAIN SASL mechanism and then injected into the AMQP protocol.

Constructor Summary
AmqpPrincipal(String name, char[] password)
Method Summary
 String getName()
 char[] getPassword()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface
equals, hashCode, toString

Constructor Detail


public AmqpPrincipal(String name,
                     char[] password)
Method Detail


public String getName()
Specified by:
getName in interface Principal


public char[] getPassword()

Copyright © 2014. All Rights Reserved.