← Back to plugin index

Authentication Instant SAML 2.0 Attribute

Description
A SAML 2.0 attribute containing the authentication instant.
Type name
AuthenticationInstantAttribute
Class
com.airlock.iam.saml2.application.configuration.assertion.attribute.AuthenticationInstantAttributeConfig
May be used by
License-Tags
SamlIdp
Properties
Attribute Name (samlAttributeName)
Description
The name of the attribute to add to the assertion.
Attributes
String
Mandatory
Example
AuthInstant
Date And Time Format (dateAndTimeFormat)
Description

If this property is set, the SAML 2.0 attribute will contain the authentication instant formatted using the configured date and time format. The format is interpreted as specified in the java.text.SimpleDateFormat documentation. Note that the output time zone is fixed to GMT.

If this property is not set, the attribute value will contain the authentication instant as a Unix timestamp (i.e. milliseconds since epoch).

Attributes
String
Optional
Example
yyyy-MM-dd'T'HH:mm:ss'Z'
Example
yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
Example
yyyy-MM-dd HH:mm:ss
Name Format (nameFormat)
Description
The NameFormat to use for the attribute.
Attributes
String
Optional
Default value
urn:oasis:names:tc:SAML:2.0:attrname-format:basic
Suggested values
urn:oasis:names:tc:SAML:2.0:attrname-format:basic, urn:oasis:names:tc:SAML:2.0:attrname-format:uri, urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified
YAML Template (with default values)

type: AuthenticationInstantAttribute
id: AuthenticationInstantAttribute-xxxxxx
displayName: 
comment: 
properties:
  dateAndTimeFormat:
  nameFormat: urn:oasis:names:tc:SAML:2.0:attrname-format:basic
  samlAttributeName: