org.apache.activemq.apollo.dto
Class AddUserHeaderDTO
java.lang.Object
org.apache.activemq.apollo.dto.AddUserHeaderDTO
public class AddUserHeaderDTO
- extends java.lang.Object
This class is used to more finely control how user headers are added to received STOMP messages.
- Author:
- Hiram Chirino
Field Summary |
java.lang.String |
kind
The user sending the message may have many principals,
setting the kind will only select those principals who's
class name matches the kind. |
java.lang.String |
name
The name of the header to set |
java.lang.String |
separator
If the user has multiple principals which match
then they will all be listed in the value of the header
entry separated by the configured separator value. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
name
public java.lang.String name
- The name of the header to set
separator
public java.lang.String separator
- If the user has multiple principals which match
then they will all be listed in the value of the header
entry separated by the configured separator value. If the
separator is not set, then only the first matching principal
will be used in the value of the header entry.
kind
public java.lang.String kind
- The user sending the message may have many principals,
setting the kind will only select those principals who's
class name matches the kind. Defaults to *.
AddUserHeaderDTO
public AddUserHeaderDTO()
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.