Package net.shibboleth.idp.cas.attribute
Class Attribute
- java.lang.Object
-
- net.shibboleth.idp.cas.attribute.Attribute
-
public class Attribute extends Object
Wrapper class for a CAS attribute/values construct in a validate response.
-
-
Field Summary
Fields Modifier and Type Field Description private StringnameName of attribute.private Collection<String>valuesString values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Get the attribute's name.Collection<String>getValues()Get string values.
-
-
-
Field Detail
-
name
@Nonnull @NotEmpty private String name
Name of attribute.
-
values
@Nonnull @NonnullElements private final Collection<String> values
String values.
-
-
Constructor Detail
-
Attribute
public Attribute(@Nonnull @NotEmpty String theName)Constructor.- Parameters:
theName- name of attribute
-
-
Method Detail
-
getName
@Nonnull @NotEmpty public String getName()
Get the attribute's name.- Returns:
- the name
-
getValues
@Nonnull @NonnullElements @Live public Collection<String> getValues()
Get string values.- Returns:
- string value collection
-
-