public interface ScriptedIdPAttribute
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(Object what)
Add the provided object to the attribute values, policing for type.
|
String |
getId()
Get the encapsulated attributeId.
|
IdPAttribute |
getNativeAttribute()
return the underlying attribute.
|
Collection<Object> |
getValues()
Return all the values, but with
StringAttributeValue values returned as
strings.This method is a helper method for V2 compatibility. |
@Nullable Collection<Object> getValues() throws ResolutionException
StringAttributeValue values returned as
strings.ResolutionException - if the script has called getNativeAttribute()@Nonnull IdPAttribute getNativeAttribute() throws ResolutionException
ResolutionException - if the script has called getValues.void addValue(@Nullable Object what) throws ResolutionException
what - a String or a IdPAttributeValue to add.ResolutionException - if the provided value is of the wrong typeCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.