SAP ABAP Class CL_ABSTRACT_SAML20_ASSERTION (Base class for processing SAML20 assertions)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SEC-LGN-SML (Application Component) SAML 2.0
⤷
SAML2_API (Package) SAML2::API for SAML authentication
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_ABSTRACT_SAML_ASSERTION | Base class for SAML assertions | 20120127 |
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_SAML20_BEARER_ASSERTION | Common class for SAML 2.0 bearer assertions | 20120308 |
Properties
| Class | CL_ABSTRACT_SAML20_ASSERTION | |
| Short Description | Base class for processing SAML20 assertions | |
| Super Class | CL_ABSTRACT_SAML_ASSERTION | Base class for SAML assertions |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | SAML2_API | SAML2::API for SAML authentication |
| Created | 20111215 | 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) |
Interfaces
Class CL_ABSTRACT_SAML20_ASSERTION has no interface implemented.
Friends
Class CL_ABSTRACT_SAML20_ASSERTION has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Protected | Type reference (TYPE) | CHAR2 | '1' | Subject confirmation method is not valid | 20120307 | ||
| 2 | Constant | Protected | Type reference (TYPE) | CHAR2 | '2' | NotBefore is specified in the assertion which is improper | 20120307 | ||
| 3 | Constant | Protected | Type reference (TYPE) | CHAR2 | '3' | NotOnOrAfter is not specified in any subject confirm. data | 20120307 | ||
| 4 | Constant | Protected | Type reference (TYPE) | CHAR2 | '4' | NotOnOrAfter in any subject confirmation data is not valid | 20120307 | ||
| 5 | Constant | Protected | Type reference (TYPE) | CHAR2 | '5' | Subject confirmation recipient does not match | 20120307 | ||
| 6 | Instance attribute | Protected | Type reference (TYPE) | SAML2_ASSERTION | Structure of an SAML 2.0 Assertion | 20120127 | |||
| 7 | Instance attribute | Protected | Type reference (TYPE) | SAML2_ATTRIBUTE | SAML2 Attribute | 20120307 | |||
| 8 | Instance attribute | Protected | Type reference (TYPE) | SAML2_NAME_ID | Structure for SAML 2.0 Type: NameIDType | 20120127 | |||
| 9 | Instance attribute | Protected | Type reference (TYPE) | SAML2_ASSERTION_ATTRIBUTES_T | Table of SAML2 attribute couples | 20120307 | |||
| 10 | Instance attribute | Protected | Type reference (TYPE) | SAML2_STRING_T | SAML 2.0 URI Table | 20120306 | |||
| 11 | Instance attribute | Protected | Type reference (TYPE) | SAML_ELEMENT_T | Table with generic SAML elements | 20120127 | |||
| 12 | Instance attribute | Protected | Type reference (TYPE) | SAML2_AUTH_CLASS_KEY_T | Auth. CXT Class Key Table Type | 20120306 | |||
| 13 | Instance attribute | Protected | Type reference (TYPE) | SAML2_STRING_T | SAML2 String Table | 20120306 | |||
| 14 | Instance attribute | Protected | Type reference (TYPE) | ABAP_BOOL | Set to TRUE if the assertion is successfully parsed | 20120308 | |||
| 15 | Instance attribute | Protected | Type reference (TYPE) | I | 20120306 | ||||
| 16 | Instance attribute | Protected | Type reference (TYPE) | SAML2_ENTITY_NAME | SAML2 Entity ID | 20120306 | |||
| 17 | Instance attribute | Protected | Type reference (TYPE) | I | 20120306 | ||||
| 18 | Instance attribute | Protected | Type reference (TYPE) | STRING | 20120306 | ||||
| 19 | Instance attribute | Protected | Type reference (TYPE) | SSFAPPL | SSF application for decryption | 20120306 | |||
| 20 | Instance attribute | Protected | Type reference (TYPE) | XSTRING | X509 secondary signing certificate for signature validation | 20120306 | |||
| 21 | Instance attribute | Protected | Type reference (TYPE) | SSFAPPL | SSF application for signature validation | 20120306 | |||
| 22 | Instance attribute | Protected | Type reference (TYPE) | XSTRING | X509 certificate for signature validation | 20120306 | |||
| 23 | Instance attribute | Protected | Type reference (TYPE) | STRING | Subject confirmation method - bearer, HOK, sender vouches | 20120307 | |||
| 24 | Instance attribute | Protected | Type reference (TYPE) | SAML2_DATETIME | SAML2 (xs:dateTime) | 20120308 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | Check for expected attributes in the SAML 2.0 assertion | 20120307 | |
| 2 | Instance method | Private | Method | Checks that an assertion is provided and successfully parsed | 20120308 | |
| 3 | Instance method | Public | Constructor | 20120306 | ||
| 4 | Instance method | Public | Method | Get parsed SAML 2.0 attributes | 20120307 | |
| 5 | Instance method | Public | Method | Get parsed Name ID structure | 20120307 | |
| 6 | Instance method | Protected | Method | Search for 'EncryptionAssertion' element for encryption | 20120306 | |
| 7 | Instance method | Protected | Method | 20120308 | ||
| 8 | Instance method | Protected | Method | Validation of other determined subject confirmation data | 20120307 | |
| 9 | Instance method | Protected | Method | Validates assertion's recipient | 20120307 | |
| 10 | Instance method | Protected | Method | Validates abstract assertion's subject | 20120127 | |
| 11 | Instance method | Protected | Method | Validates subject confirmations | 20120307 |
Events
Class CL_ABSTRACT_SAML20_ASSERTION has no event.
Types
Class CL_ABSTRACT_SAML20_ASSERTION has no local type.
Method Signatures
Method CHECK_ATTRIBUTES Signature
Method CHECK_ATTRIBUTES on class CL_ABSTRACT_SAML20_ASSERTION has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions Within SAML2 Core Function | 20120307 |
Method CHECK_IF_ASSERTION_IS_PARSED Signature
Method CHECK_IF_ASSERTION_IS_PARSED on class CL_ABSTRACT_SAML20_ASSERTION has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Thrown if no assertion is provided/successfully fvalidated | 20120308 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_CONF_EXPECTED_ATTRIBUTES | Call by reference | Type reference (TYPE) | SAML2_STRING_T | SAML 2.0 URI Table | 20120306 | |||
| 2 | IT_CONF_SUPPORTED_AUTHN_CTX | Call by reference | Type reference (TYPE) | SAML2_AUTH_CLASS_KEY_T | Auth. CXT Class Key Table Type | 20120306 | |||
| 3 | IT_CONF_SUPPORTED_NAMEID_FMT | Call by reference | Type reference (TYPE) | SAML2_STRING_T | SAML2 String Table | 20120306 | |||
| 4 | IV_CLIENT | Call by reference | Type reference (TYPE) | MANDT | Client test for translation (to be deleted!) | 20120306 | |||
| 5 | IV_CONF_CLOCK_SKEW | Call by reference | Type reference (TYPE) | I | 20120306 | ||||
| 6 | IV_CONF_DECR_SSF_APPLICATION | Call by reference | Type reference (TYPE) | SSFAPPL | 20120306 | ||||
| 7 | IV_CONF_LOCAL_ENTITY_NAME | Call by reference | Type reference (TYPE) | SAML2_ENTITY_NAME | SAML2 Entity ID | 20120306 | |||
| 8 | IV_CONF_MAX_TOKEN_VALIDITY | Call by reference | Type reference (TYPE) | I | 20120306 | ||||
| 9 | IV_CONF_RECIPIENT | Call by reference | Type reference (TYPE) | STRING | 20120306 | ||||
| 10 | IV_DECRYPTION_SSF_APPLICATION | Call by reference | Type reference (TYPE) | SSFAPPL | SSF application for decryption | 20120306 | |||
| 11 | IV_SEC_SIGN_VALIDATION_CERT | Call by reference | Type reference (TYPE) | XSTRING | X509 secondary signing certificate for signature validation | 20120306 | |||
| 12 | IV_SIGNATURE_SSF_APPLICATION | Call by reference | Type reference (TYPE) | SSFAPPL | SSF application for signature validation | 20120306 | |||
| 13 | IV_SIGNATURE_VALIDATION_CERT | Call by reference | Type reference (TYPE) | XSTRING | X509 certificate for signature validation | 20120306 |
Method CONSTRUCTOR on class CL_ABSTRACT_SAML20_ASSERTION has no exception.
Method GET_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_ATTRIBUTES | Value transfer | Type reference (TYPE) | SAML2_ASSERTION_ATTRIBUTES_T | Table of SAML2 attribute couples | 20120307 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions Within SAML2 Core Function | 20120307 |
Method GET_NAME_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RS_NAME_ID | Value transfer | Type reference (TYPE) | SAML2_NAME_ID | Structure for SAML 2.0 Type: NameIDType | 20120307 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions Within SAML2 Core Function | 20120308 |
Method IS_ASSERTION_ENCRYPTED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_XML | Call by reference | Type reference (TYPE) | XSTRING | 20120306 | ||||
| 2 | RV_ENCRYPTED | Value transfer | Type reference (TYPE) | SAML2_BOOLEAN | SAML2 Truth Value | 20120306 |
Method IS_ASSERTION_ENCRYPTED on class CL_ABSTRACT_SAML20_ASSERTION has no exception.
Method VALIDATE_AUTHN_STATEMENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_SUPPORTED_AUTHN_CONTEXTS | Call by reference | Type reference (TYPE) | SAML2_AUTH_CLASS_KEY_T | Auth. CXT Class Key Table Type | 20120308 | |||
| 2 | IV_SESSION_INDEX_TO_CHECK | Call by reference | Type reference (TYPE) | STRING | 20120308 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions Within SAML2 Core Function | 20120308 |
Method VALIDATE_OTHER_SUBJ_CONF_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_SUBJECT_CONFIRMATION | Call by reference | Type reference (TYPE) | SAML2_ASSERTION_SUBJCONF | Structure of an SAML 2.0 Subject Confirmation | 20120307 | |||
| 2 | RV_ERROR_REASON | Value transfer | Type reference (TYPE) | STRING | 20120307 |
Method VALIDATE_OTHER_SUBJ_CONF_DATA on class CL_ABSTRACT_SAML20_ASSERTION has no exception.
Method VALIDATE_RECIPIENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ASSERTION_RECIPIENT | Call by reference | Type reference (TYPE) | STRING | Recipient from the assertion | 20120308 | |||
| 2 | IV_RECIPIENT | Call by reference | Type reference (TYPE) | STRING | Expected recipient value in the Subject Confirmation Data | 20120307 | |||
| 3 | RV_ERROR_REASON | Value transfer | Type reference (TYPE) | STRING | 20120307 |
Method VALIDATE_RECIPIENT on class CL_ABSTRACT_SAML20_ASSERTION has no exception.
Method VALIDATE_SUBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_SUPPORTED_NAME_ID_FORMATS | Call by reference | Type reference (TYPE) | SAML2_STRING_T | List of supported NameID formats | 20120127 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions Within SAML2 Core Function | 20120127 |
Method VALIDATE_SUBJECT_CONFIRMATIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CLOCK_SKEW | Call by reference | Type reference (TYPE) | I | 360 | 20120307 | |||
| 2 | IV_RECIPIENT | Call by reference | Type reference (TYPE) | STRING | 20120307 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions Within SAML2 Core Function | 20120307 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 732 |