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 ABAP 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 CO_SBJCONF_ERROR_CODE1 Constant Protected Type reference (TYPE) CHAR2 '1' Subject confirmation method is not valid 20120307
2 CO_SBJCONF_ERROR_CODE2 Constant Protected Type reference (TYPE) CHAR2 '2' NotBefore is specified in the assertion which is improper 20120307
3 CO_SBJCONF_ERROR_CODE3 Constant Protected Type reference (TYPE) CHAR2 '3' NotOnOrAfter is not specified in any subject confirm. data 20120307
4 CO_SBJCONF_ERROR_CODE4 Constant Protected Type reference (TYPE) CHAR2 '4' NotOnOrAfter in any subject confirmation data is not valid 20120307
5 CO_SBJCONF_ERROR_CODE5 Constant Protected Type reference (TYPE) CHAR2 '5' Subject confirmation recipient does not match 20120307
6 MS_ASSERTION Instance attribute Protected Type reference (TYPE) SAML2_ASSERTION Structure of an SAML 2.0 Assertion 20120127
7 MS_ATTRIBUTE Instance attribute Protected Type reference (TYPE) SAML2_ATTRIBUTE SAML2 Attribute 20120307
8 MS_NAME_ID Instance attribute Protected Type reference (TYPE) SAML2_NAME_ID Structure for SAML 2.0 Type: NameIDType 20120127
9 MT_ATTRIBUTES Instance attribute Protected Type reference (TYPE) SAML2_ASSERTION_ATTRIBUTES_T Table of SAML2 attribute couples 20120307
10 MT_CONF_EXPECTED_ATTRIBUTES Instance attribute Protected Type reference (TYPE) SAML2_STRING_T SAML 2.0 URI Table 20120306
11 MT_CONF_SUBELEMENTS Instance attribute Protected Type reference (TYPE) SAML_ELEMENT_T Table with generic SAML elements 20120127
12 MT_CONF_SUPPORTED_AUTHN_CTX Instance attribute Protected Type reference (TYPE) SAML2_AUTH_CLASS_KEY_T Auth. CXT Class Key Table Type 20120306
13 MT_CONF_SUPPORTED_NAMEID_FMT Instance attribute Protected Type reference (TYPE) SAML2_STRING_T SAML2 String Table 20120306
14 MV_ASSERTION_PARSED Instance attribute Protected Type reference (TYPE) ABAP_BOOL Set to TRUE if the assertion is successfully parsed 20120308
15 MV_CONF_CLOCK_SKEW Instance attribute Protected Type reference (TYPE) I 20120306
16 MV_CONF_LOCAL_ENTITY_NAME Instance attribute Protected Type reference (TYPE) SAML2_ENTITY_NAME SAML2 Entity ID 20120306
17 MV_CONF_MAX_TOKEN_VALIDITY Instance attribute Protected Type reference (TYPE) I 20120306
18 MV_CONF_RECIPIENT Instance attribute Protected Type reference (TYPE) STRING 20120306
19 MV_DECRYPTION_SSF_APPLICATION Instance attribute Protected Type reference (TYPE) SSFAPPL SSF application for decryption 20120306
20 MV_SEC_SIGN_VALIDATION_CERT Instance attribute Protected Type reference (TYPE) XSTRING X509 secondary signing certificate for signature validation 20120306
21 MV_SIGNATURE_SSF_APPLICATION Instance attribute Protected Type reference (TYPE) SSFAPPL SSF application for signature validation 20120306
22 MV_SIGNATURE_VALIDATION_CERT Instance attribute Protected Type reference (TYPE) XSTRING X509 certificate for signature validation 20120306
23 MV_SUBJECT_CONFIRMATION_METHOD Instance attribute Protected Type reference (TYPE) STRING Subject confirmation method - bearer, HOK, sender vouches 20120307
24 MV_SUBJECT_NOTONORAFTER Instance attribute Protected Type reference (TYPE) SAML2_DATETIME SAML2 (xs:dateTime) 20120308
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_ATTRIBUTES Instance method Protected Method Check for expected attributes in the SAML 2.0 assertion 20120307
2 CHECK_IF_ASSERTION_IS_PARSED Instance method Private Method Checks that an assertion is provided and successfully parsed 20120308
3 CONSTRUCTOR Instance method Public Constructor 20120306
4 GET_ATTRIBUTES Instance method Public Method Get parsed SAML 2.0 attributes 20120307
5 GET_NAME_ID Instance method Public Method Get parsed Name ID structure 20120307
6 IS_ASSERTION_ENCRYPTED Instance method Protected Method Search for 'EncryptionAssertion' element for encryption 20120306
7 VALIDATE_AUTHN_STATEMENTS Instance method Protected Method 20120308
8 VALIDATE_OTHER_SUBJ_CONF_DATA Instance method Protected Method Validation of other determined subject confirmation data 20120307
9 VALIDATE_RECIPIENT Instance method Protected Method Validates assertion's recipient 20120307
10 VALIDATE_SUBJECT Instance method Protected Method Validates abstract assertion's subject 20120127
11 VALIDATE_SUBJECT_CONFIRMATIONS 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 CX_SAML20_CORE 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 CX_SAML20_CORE 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 Importing IT_CONF_EXPECTED_ATTRIBUTES Call by reference Type reference (TYPE) SAML2_STRING_T SAML 2.0 URI Table 20120306
2 Importing IT_CONF_SUPPORTED_AUTHN_CTX Call by reference Type reference (TYPE) SAML2_AUTH_CLASS_KEY_T Auth. CXT Class Key Table Type 20120306
3 Importing IT_CONF_SUPPORTED_NAMEID_FMT Call by reference Type reference (TYPE) SAML2_STRING_T SAML2 String Table 20120306
4 Importing IV_CLIENT Call by reference Type reference (TYPE) MANDT Client test for translation (to be deleted!) 20120306
5 Importing IV_CONF_CLOCK_SKEW Call by reference Type reference (TYPE) I 20120306
6 Importing IV_CONF_DECR_SSF_APPLICATION Call by reference Type reference (TYPE) SSFAPPL 20120306
7 Importing IV_CONF_LOCAL_ENTITY_NAME Call by reference Type reference (TYPE) SAML2_ENTITY_NAME SAML2 Entity ID 20120306
8 Importing IV_CONF_MAX_TOKEN_VALIDITY Call by reference Type reference (TYPE) I 20120306
9 Importing IV_CONF_RECIPIENT Call by reference Type reference (TYPE) STRING 20120306
10 Importing IV_DECRYPTION_SSF_APPLICATION Call by reference Type reference (TYPE) SSFAPPL SSF application for decryption 20120306
11 Importing IV_SEC_SIGN_VALIDATION_CERT Call by reference Type reference (TYPE) XSTRING X509 secondary signing certificate for signature validation 20120306
12 Importing IV_SIGNATURE_SSF_APPLICATION Call by reference Type reference (TYPE) SSFAPPL SSF application for signature validation 20120306
13 Importing 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 Returning RT_ATTRIBUTES Value transfer Type reference (TYPE) SAML2_ASSERTION_ATTRIBUTES_T Table of SAML2 attribute couples 20120307
# Exception Resumable Description Created on
1 CX_SAML20_CORE 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 Returning 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 CX_SAML20_CORE 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 Importing IV_XML Call by reference Type reference (TYPE) XSTRING 20120306
2 Returning 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 Importing IT_SUPPORTED_AUTHN_CONTEXTS Call by reference Type reference (TYPE) SAML2_AUTH_CLASS_KEY_T Auth. CXT Class Key Table Type 20120308
2 Importing IV_SESSION_INDEX_TO_CHECK Call by reference Type reference (TYPE) STRING 20120308
# Exception Resumable Description Created on
1 CX_SAML20_CORE 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 Importing IS_SUBJECT_CONFIRMATION Call by reference Type reference (TYPE) SAML2_ASSERTION_SUBJCONF Structure of an SAML 2.0 Subject Confirmation 20120307
2 Returning 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 Importing IV_ASSERTION_RECIPIENT Call by reference Type reference (TYPE) STRING Recipient from the assertion 20120308
2 Importing IV_RECIPIENT Call by reference Type reference (TYPE) STRING Expected recipient value in the Subject Confirmation Data 20120307
3 Returning 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 Importing 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 CX_SAML20_CORE 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 Importing IV_CLOCK_SKEW Call by reference Type reference (TYPE) I 360 20120307
2 Importing IV_RECIPIENT Call by reference Type reference (TYPE) STRING 20120307
# Exception Resumable Description Created on
1 CX_SAML20_CORE Exceptions Within SAML2 Core Function 20120307
History
Last changed by/on SAP  20130531 
SAP Release Created in 732