SAP ABAP Class CL_SAML20_ASSERTION (SAML20 Assertion)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SEC-LGN-SML (Application Component) SAML 2.0
⤷
SAML2_CORE (Package) SAML2 Core Functionality
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_SAML20_ABSTRACT_MSG | Abstract Superclass for SAML2 Messages | 20081024 |
Properties
| Class | CL_SAML20_ASSERTION | |
| Short Description | SAML20 Assertion | |
| Super Class | CL_SAML20_ABSTRACT_MSG | Abstract Superclass for SAML2 Messages |
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | SAML2_CORE | SAML2 Core Functionality |
| Created | 20081024 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_SAML20_ASSERTION has no interface implemented.
Friends
Class CL_SAML20_ASSERTION has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | SAML2_NAMEID_FORMAT | 'urn:oasis:names:tc:SAML:2.0:nameid-format:entity' | Entity Format String | 20081208 | ||
| 2 | Constant | Private | Type reference (TYPE) | CXSLTDESC | 'SAML2_ASSERTION' | Name of an XSLT Program | 20081103 | ||
| 3 | Instance attribute | Private | Type reference (TYPE) | SAML2_ENTITY_KEY | SAML2 Entity ID Key | 20090225 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | SAML2_ASSERTION | Structure of an SAML 2.0 Assertion | 20081103 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | SAML2_ASSERTION_ATTRIBUTES_T | 20090902 | ||||
| 6 | Instance attribute | Private | Type reference (TYPE) | SAML2_BOOLEAN | SAML2 Truth Value | 20090225 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | SAML2_NAME_ID | Structure for SAML 2.0 Type: NameIDType | 20091130 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Constructor | Constructor | 20081103 | |
| 2 | Instance method | Private | Method | 20090622 | ||
| 3 | Static method | Public | Method | Generate instance from XML string | 20081103 | |
| 4 | Instance method | Public | Method | Deletes the assertion from SAML2_ASSERT table | 20110609 | |
| 5 | Instance method | Public | Method | get assertion data for audit log | 20091130 | |
| 6 | Instance method | Public | Method | Get SAML2 attributes from the assertion | 20090902 | |
| 7 | Instance method | Public | Method | Returns the authentication context | 20081120 | |
| 8 | Instance method | Public | Method | Returns details of the NameID | 20081216 | |
| 9 | Instance method | Public | Method | Returns the session index | 20081120 | |
| 10 | Instance method | Public | Method | Returns the NameID of the subject | 20081110 | |
| 11 | Instance method | Private | Method | Gets the X.509 certificate for KeyInfo | 20090129 | |
| 12 | Instance method | Public | Method | Validates the assertion (SSO profile) | 20090115 | |
| 13 | Instance method | Private | Method | Validates the recipient restriction | 20081105 | |
| 14 | Instance method | Private | Method | Validates the conditions | 20081107 | |
| 15 | Instance method | Private | Method | Validate HASH Algorithms | 20091130 | |
| 16 | Instance method | Private | Method | Validates the one-time assertion use | 20081105 | |
| 17 | Instance method | Private | Method | Validates the conditions | 20081213 | |
| 18 | Instance method | Public | Method | Validates an independent assertion | 20090128 | |
| 19 | Instance method | Private | Method | Validates the subject | 20090209 | |
| 20 | Instance method | Private | Method | Validate subject element for independent assertions | 20090209 |
Events
Class CL_SAML20_ASSERTION has no event.
Types
Class CL_SAML20_ASSERTION has no local type.
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_ENTITY_OBJ | Call by reference | Object reference (TYPE REF TO) | CL_SAML20_ENTITY | SAML 2.0 Entität | 20081103 | |||
| 2 | IO_TRUSTED_ENTITY_OBJ | Call by reference | Object reference (TYPE REF TO) | CL_SAML20_ENTITY | SAML 2.0 Entität | 20090212 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Oberklasse SAML20 Ausnahmen | 20081103 |
Method CONSUME_ATTRIBUTES Signature
Method CONSUME_ATTRIBUTES on class CL_SAML20_ASSERTION has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen innerhalb der SAML2 Kernfunktion | 20090622 |
Method CREATE_FROM_XML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EO_OBJECT | Call by reference | Object reference (TYPE REF TO) | CL_SAML20_ASSERTION | SAML20 Assertion | 20081217 | |||
| 2 | IF_ASSERT_SIGNED | Call by reference | Type reference (TYPE) | SAML2_BOOLEAN | SAML2 Wahrheitswert | 20090909 | |||
| 3 | IF_BINDING_TYPE | Call by reference | Type reference (TYPE) | SAML2_BINDING_TYPE | SAML2 Bindungsart | 20090904 | |||
| 4 | IF_CRYPT | Call by reference | Type reference (TYPE) | SAML2_BOOLEAN | SAML2 Wahrheitswert | 20081110 | |||
| 5 | IF_FORCE_ONETIMEUSE | Call by reference | Type reference (TYPE) | SAML2_BOOLEAN | SAML2 Wahrheitswert | 20090225 | |||
| 6 | IF_PARENT_NODE_IS_SIGNED | Call by reference | Type reference (TYPE) | SAML2_BOOLEAN | ABAP_FALSE | SAML2 Truth Value | 20120425 | ||
| 7 | IF_PROFILE | Call by reference | Type reference (TYPE) | SAML2_PROFILE_TYPE | SAML2 Profile | 20090730 | |||
| 8 | IF_SOAP | Call by reference | Type reference (TYPE) | SAML2_BOOLEAN | ABAP_FALSE | SAML2 Wahrheitswert | 20090904 | ||
| 9 | IF_XML | Call by reference | Type reference (TYPE) | XSTRING | 20081103 | ||||
| 10 | IO_ENTITY_OBJ | Call by reference | Object reference (TYPE REF TO) | CL_SAML20_ENTITY | SAML 2.0 Entität | 20081217 | |||
| 11 | IO_TRUSTED_ENTITY_OBJ | Call by reference | Object reference (TYPE REF TO) | CL_SAML20_ENTITY | Partnerentität | 20090212 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Oberklasse SAML20 Ausnahmen | 20081107 | ||
| 2 | Ausnahmen innerhalb der SAML2 Kernfunktion | 20081204 |
Method DELETE_CONSUMED_ASSERTION Signature
Method DELETE_CONSUMED_ASSERTION on class CL_SAML20_ASSERTION has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions Within SAML2 Core Function | 20110609 |
Method GET_ASSERTION_LOG_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EF_ASSERTION | Call by reference | Type reference (TYPE) | SAML2_ASSERTION | Struktur einer SAML 2.0 Assertion | 20091130 | |||
| 2 | EF_SUBJECT_NAMEID | Call by reference | Type reference (TYPE) | SAML2_NAME_ID | Struktur zu SAML 2.0 Typ: NameIDType | 20091130 | |||
| 3 | ET_ATTRIBUTES | Call by reference | Type reference (TYPE) | SAML2_ASSERTION_ATTRIBUTES_T | 20091130 |
Method GET_ASSERTION_LOG_DATA on class CL_SAML20_ASSERTION has no exception.
Method GET_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ASSERTION_ATTIBUTES | Value transfer | Type reference (TYPE) | SAML2_ASSERTION_ATTRIBUTES_T | 20090902 |
Method GET_ATTRIBUTES on class CL_SAML20_ASSERTION has no exception.
Method GET_AUTHNCONTEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EF_AUTHNCONTEXT | Call by reference | Type reference (TYPE) | SAML2_ANYURI | SAML2 URI | 20081208 | |||
| 2 | EF_AUTHNCONTEXT_KEY | Call by reference | Type reference (TYPE) | SAML2_AUTH_CLASS_KEY | Schlüsselwert des SAML2 Authentifizierungsklasse | 20081208 | |||
| 3 | EF_IS_CUSTOM | Call by reference | Type reference (TYPE) | SAML2_CUSTOM_AUTH_CTX | 20090822 |
Method GET_AUTHNCONTEXT on class CL_SAML20_ASSERTION has no exception.
Method GET_NAMEID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EF_NAMEID | Call by reference | Type reference (TYPE) | SAML2_NAMEID_IDP | SAML2 Name am IDP | 20090309 | |||
| 2 | EF_NAMEID_KEY | Call by reference | Type reference (TYPE) | SAML2_NAMEID_KEY | SAML2 NameID Schlüssel | 20081216 | |||
| 3 | EF_NAMEQUALIFIER | Call by reference | Type reference (TYPE) | STRING | NameQualifier | 20090326 | |||
| 4 | EF_SPNAMEQUALIFIER | Call by reference | Type reference (TYPE) | STRING | 20090924 | ||||
| 5 | EF_SPNAMEQUAL_KEY | Call by reference | Type reference (TYPE) | SAML2_ENTITY_KEY | SAML2 Entitätskennung | 20090309 | |||
| 6 | EF_SPPROVIDEDID | Call by reference | Type reference (TYPE) | STRING | 20090123 |
Method GET_NAMEID on class CL_SAML20_ASSERTION has no exception.
Method GET_SESSIONINDEX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EF_SESSIONINDEX | Call by reference | Type reference (TYPE) | STRING | 20081208 |
Method GET_SESSIONINDEX on class CL_SAML20_ASSERTION has no exception.
Method GET_SUBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_SUBJECT | Call by reference | Type reference (TYPE) | SAML2_NAME_ID | Struktur zu SAML 2.0 Typ: NameIDType | 20081117 |
Method GET_SUBJECT on class CL_SAML20_ASSERTION has no exception.
Method GET_X509CERT_FROM_KEYINFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EF_X509CERT | Call by reference | Type reference (TYPE) | XSDANY | XML-Fragment | 20090129 | |||
| 2 | IF_KEYINFO | Call by reference | Type reference (TYPE) | XSDANY | XML-Fragment | 20090129 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Oberklasse SAML20 Ausnahmen | 20090130 | ||
| 2 | Ausnahmen innerhalb der SAML2 Kernfunktion | 20090130 |
Method VALIDATE_ASSERTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_BINDING_TYPE | Call by reference | Type reference (TYPE) | SAML2_BINDING_TYPE | SAML2 Bindungsart | 20090904 | |||
| 2 | IF_REQUEST_ID | Call by reference | Type reference (TYPE) | STRING | 20090115 | ||||
| 3 | IF_RESPONSE_ARRIVAL_URL | Call by reference | Type reference (TYPE) | STRING | 20090115 | ||||
| 4 | IF_RESPONSE_ISSUER | Call by reference | Type reference (TYPE) | STRING | 20090115 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Oberklasse SAML20 Ausnahmen | 20090121 | ||
| 2 | Assertion Ausnahme | 20090121 |
Method VALIDATE_AUDIENCE_RESTRICTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_URL | Call by reference | Type reference (TYPE) | SAML2_ANYURI | SAML2 URI | 20090702 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Oberklasse SAML20 Ausnahmen | 20081106 |
Method VALIDATE_CONDITIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20081107 | |||
| 2 | IF_URL | Call by reference | Type reference (TYPE) | SAML2_ANYURI | SAML2 URI | 20090702 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Oberklasse SAML20 Ausnahmen | 20081119 |
Method VALIDATE_HASH_ALGORITHMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_HASH_ALGORITHMS | Call by reference | Type reference (TYPE) | SAML2_HASH_ALGORITHM_T | Supported SSFHASH Algorithms | 20091130 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Assertion Exception | 20091130 |
Method VALIDATE_ONETIMEUSE Signature
Method VALIDATE_ONETIMEUSE on class CL_SAML20_ASSERTION has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Oberklasse SAML20 Ausnahmen | 20081106 |
Method VALIDATE_RECIPIENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_APPLICATION_URL | Call by reference | Type reference (TYPE) | STRING | URL aus Endpunkt | 20081213 | |||
| 2 | IF_RECIPIENT_URL | Call by reference | Type reference (TYPE) | STRING | URL aus Assertion | 20081213 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Oberklasse SAML20 Ausnahmen | 20081213 |
Method VALIDATE_STANDALONE_ASSERTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EF_SAML_CM | Call by reference | Type reference (TYPE) | STRING | 20090701 | ||||
| 2 | EF_USER_ID | Call by reference | Type reference (TYPE) | XUBNAME | Benutzername im Benutzerstamm | 20090128 | |||
| 3 | EF_X509CERT | Call by reference | Type reference (TYPE) | XSDANY | XML-Fragment | 20090129 | |||
| 4 | ES_KEY_ASYM | Call by reference | Type reference (TYPE) | SEC_DSIG_KEYINFO_RSAKEY | 20090701 | ||||
| 5 | ES_KEY_SYM | Call by reference | Type reference (TYPE) | SEC_XML_XENC_INFO | Informationen für XML Ent- und Verschlüsselung | 20090701 | |||
| 6 | IF_URL | Call by reference | Type reference (TYPE) | SAML2_ANYURI | SAML2 URI | 20090702 | |||
| 7 | IT_AUTH_CONTEXTS | Call by reference | Type reference (TYPE) | SAML2_AUTH_CLASS_KEY_T | Auth contexts | 20091002 | |||
| 8 | IT_HASH_ALGORITHMS | Call by reference | Type reference (TYPE) | SAML2_HASH_ALGORITHM_T | Supported SSFHASH Algorithms | 20091130 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Oberklasse SAML20 Ausnahmen | 20090128 | ||
| 2 | Assertion Ausnahme | 20090128 |
Method VALIDATE_SUBJECT_SSO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_REQUEST_ID | Call by reference | Type reference (TYPE) | STRING | 20090209 | ||||
| 2 | IF_RESPONSE_ARRIVAL_URL | Call by reference | Type reference (TYPE) | STRING | 20090209 | ||||
| 3 | IF_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20090209 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Oberklasse SAML20 Ausnahmen | 20090209 |
Method VALIDATE_SUBJECT_STANDALONE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EF_SAML_CM | Call by reference | Type reference (TYPE) | STRING | 20090701 | ||||
| 2 | EF_X509CERT | Call by reference | Type reference (TYPE) | XSDANY | XML-Fragment | 20090209 | |||
| 3 | ES_KEY_ASYM | Call by reference | Type reference (TYPE) | SEC_DSIG_KEYINFO_RSAKEY | 20090701 | ||||
| 4 | ES_KEY_SYM | Call by reference | Type reference (TYPE) | SEC_XML_XENC_INFO | xenc:EncryptedKey | 20090701 | |||
| 5 | IF_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20090209 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Oberklasse SAML20 Ausnahmen | 20090209 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 720 |