public class RequestedAttributeTemplates extends Object
RequestedAttribute
elements are inserted in an AuthnRequest
extension.Modifier and Type | Method and Description |
---|---|
static RequestedAttribute |
create(String name,
String friendlyName,
String nameFormat,
Boolean isRequired)
Creates a
RequestedAttribute object for the given attribute name. |
static RequestedAttribute |
CURRENT_ADDRESS(Boolean isRequired,
boolean includeFriendlyName)
Creates a
RequestedAttribute object for the CurrentAddress attribute. |
static RequestedAttribute |
CURRENT_FAMILY_NAME(Boolean isRequired,
boolean includeFriendlyName)
Creates a
RequestedAttribute object for the CurrentFamilyName attribute. |
static RequestedAttribute |
CURRENT_GIVEN_NAME(Boolean isRequired,
boolean includeFriendlyName)
Creates a
RequestedAttribute object for the CurrentGivenName attribute. |
static RequestedAttribute |
DATE_OF_BIRTH(Boolean isRequired,
boolean includeFriendlyName)
Creates a
RequestedAttribute object for the DateOfBirth attribute. |
static RequestedAttribute |
GENDER(Boolean isRequired,
boolean includeFriendlyName)
Creates a
RequestedAttribute object for the Gender attribute. |
static RequestedAttribute |
PERSON_IDENTIFIER(Boolean isRequired,
boolean includeFriendlyName)
Creates a
RequestedAttribute object for the PersonIdentifier attribute. |
public static RequestedAttribute PERSON_IDENTIFIER(Boolean isRequired, boolean includeFriendlyName)
RequestedAttribute
object for the PersonIdentifier attribute.isRequired
- flag to tell whether the attribute is requiredincludeFriendlyName
- flag that tells whether the friendly name should be includedRequestedAttribute
object representing the PersonIdentifier attributepublic static RequestedAttribute CURRENT_FAMILY_NAME(Boolean isRequired, boolean includeFriendlyName)
RequestedAttribute
object for the CurrentFamilyName attribute.isRequired
- flag to tell whether the attribute is requiredincludeFriendlyName
- flag that tells whether the friendly name should be includedRequestedAttribute
object representing the CurrentFamilyName attributepublic static RequestedAttribute CURRENT_GIVEN_NAME(Boolean isRequired, boolean includeFriendlyName)
RequestedAttribute
object for the CurrentGivenName attribute.isRequired
- flag to tell whether the attribute is requiredincludeFriendlyName
- flag that tells whether the friendly name should be includedRequestedAttribute
object representing the CurrentGivenName attributepublic static RequestedAttribute DATE_OF_BIRTH(Boolean isRequired, boolean includeFriendlyName)
RequestedAttribute
object for the DateOfBirth attribute.isRequired
- flag to tell whether the attribute is requiredincludeFriendlyName
- flag that tells whether the friendly name should be includedRequestedAttribute
object representing the DateOfBirth attributepublic static RequestedAttribute GENDER(Boolean isRequired, boolean includeFriendlyName)
RequestedAttribute
object for the Gender attribute.isRequired
- flag to tell whether the attribute is requiredincludeFriendlyName
- flag that tells whether the friendly name should be includedRequestedAttribute
object representing the Gender attributepublic static RequestedAttribute CURRENT_ADDRESS(Boolean isRequired, boolean includeFriendlyName)
RequestedAttribute
object for the CurrentAddress attribute.isRequired
- flag to tell whether the attribute is requiredincludeFriendlyName
- flag that tells whether the friendly name should be includedRequestedAttribute
object representing the CurrentAddress attributepublic static RequestedAttribute create(String name, String friendlyName, String nameFormat, Boolean isRequired)
RequestedAttribute
object for the given attribute name.name
- the attribute namefriendlyName
- the attribute friendly name (optional)nameFormat
- the name format (defaults to urn:oasis:names:tc:SAML:2.0:attrname-format:uri
if the value is not
supplied)isRequired
- flag to tell whether the attribute is requiredRequestedAttribute
objectCopyright © 2018 Litsec AB. All rights reserved.