public class PVPAttributeBuilder extends Object
Constructor and Description |
---|
PVPAttributeBuilder() |
Modifier and Type | Method and Description |
---|---|
static org.opensaml.saml2.core.Attribute |
buildAttribute(String name,
at.gv.egovernment.moa.id.commons.api.IOAAuthParameters oaParam,
IAuthData authData) |
static org.opensaml.saml2.core.Attribute |
buildAttribute(String name,
String value) |
static org.opensaml.saml2.core.Attribute |
buildEmptyAttribute(String name) |
static org.opensaml.saml2.metadata.RequestedAttribute |
buildReqAttribute(String name,
String friendlyName,
boolean required) |
static List<org.opensaml.saml2.core.Attribute> |
buildSetOfResponseAttributes(IAuthData authData,
Collection<String> reqAttributenName)
Build a set of PVP Response-Attributes
INFO: If a specific attribute can not be build, a info is logged, but no execpetion is thrown. |
static List<org.opensaml.saml2.core.Attribute> |
buildSupportedEmptyAttributes() |
static IAttributeBuilder |
getAttributeBuilder(String name)
Get a specific attribute builder
|
public static IAttributeBuilder getAttributeBuilder(String name)
name
- Attribute-builder friendly namepublic static org.opensaml.saml2.core.Attribute buildAttribute(String name, at.gv.egovernment.moa.id.commons.api.IOAAuthParameters oaParam, IAuthData authData) throws PVP2Exception, AttributeException
PVP2Exception
AttributeException
public static org.opensaml.saml2.core.Attribute buildEmptyAttribute(String name)
public static org.opensaml.saml2.core.Attribute buildAttribute(String name, String value)
public static List<org.opensaml.saml2.core.Attribute> buildSupportedEmptyAttributes()
public static org.opensaml.saml2.metadata.RequestedAttribute buildReqAttribute(String name, String friendlyName, boolean required)
public static List<org.opensaml.saml2.core.Attribute> buildSetOfResponseAttributes(IAuthData authData, Collection<String> reqAttributenName)
authData
- AuthenticationData IAuthData
which is used to build the attribute values, but never null
reqAttributenName
- List of PVP attribute names which are requested, but never null
null
Copyright © 2017. All rights reserved.