public class SafeSubject extends Object
Constructor and Description |
---|
SafeSubject(Subject theSubject)
construct with a subject
|
Modifier and Type | Method and Description |
---|---|
String |
getAttributeValue(String attributeName)
Returns the value of a single-valued attribute.
|
String |
getAttributeValueOrCommaSeparated(String attributeName)
Returns the attribute value if single-valued, or
if multi-valued, returns the values comma separated (with a space too).
|
String |
getDescription()
Gets this Subject's description.
|
String |
getEmailAddress()
get the email address of this subject based on attributes in grouper.properties
|
String |
getId()
Gets this Subject's ID.
|
String |
getName()
Gets this Subject's name.
|
String |
getSourceId()
get the source id of a subject
|
String |
getTypeName()
get the type name
|
public SafeSubject(Subject theSubject)
theSubject
- public String getEmailAddress()
public String getId()
public String getTypeName()
public String getSourceId()
public String getName()
public String getDescription()
public String getAttributeValue(String attributeName)
attributeName
- public String getAttributeValueOrCommaSeparated(String attributeName)
Returns the attribute value if single-valued, or if multi-valued, returns the values comma separated (with a space too). So if the values are: a b c; this would return the string: "a, b, c" Implementors can use the static helper in SubjectImpl
attributeName
- Copyright © 2016 Internet2. All rights reserved.