public class AttributeTemplate extends Object
A template may be useful when defining attribute sets and/or attribute release policies.
Constructor and Description |
---|
AttributeTemplate(String name,
String friendlyName)
Creates an attribute template with the given name and friendly name, the default name format
urn:oasis:names:tc:SAML:2.0:attrname-format:uri (Attribute.URI_REFERENCE ) and not multi-valued. |
AttributeTemplate(String name,
String friendlyName,
String nameFormat)
Creates an attribute template with the given name, friendly name and name format.
|
Modifier and Type | Method and Description |
---|---|
AttributeBuilder |
createBuilder()
Based on the attribute template an
AttributeBuilder object is created. |
String |
getFriendlyName()
Get the friendly name of this attribute template.
|
String |
getName()
Get the name of this attribute template.
|
String |
getNameFormat()
Get the name format of this attribute template.
|
public AttributeTemplate(String name, String friendlyName)
urn:oasis:names:tc:SAML:2.0:attrname-format:uri
(Attribute.URI_REFERENCE
) and not multi-valued.name
- the attribute namefriendlyName
- the attribute friendly name (optional)public String getName()
public String getFriendlyName()
public String getNameFormat()
public AttributeBuilder createBuilder()
AttributeBuilder
object is created.Copyright © 2018 Litsec AB. All rights reserved.