SAP ABAP Class CL_SAML20_SSO (SAML20 Profile: Single Sign-On (SSO))
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SEC-LGN-SML (Application Component) SAML 2.0
⤷
SAML2_COMMON (Package) SAML2 Common
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_SAML20_ABSTRACT_PROFILE | Abstract Superclass for SAML2 Profiles | 20081201 |
Properties
| Class | CL_SAML20_SSO | |
| Short Description | SAML20 Profile: Single Sign-On (SSO) | |
| Super Class | CL_SAML20_ABSTRACT_PROFILE | Abstract Superclass for SAML2 Profiles |
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | SAML2 | |
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | SAML2_COMMON | SAML2 Common |
| Created | 20081104 | 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 class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 3 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_SAML20_SSO has no interface implemented.
Friends
Class CL_SAML20_SSO has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_SAML20_AUTHN_REQUEST | SAML20 AuthnStatement | 20081125 | |||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_SAML20_RESPONSE | SAML20 Response Message | 20081125 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Redirect to external CDC service | 20090909 | |
| 2 | Instance method | Public | Method | Perform the manual IdP selection | 20100322 | |
| 3 | Instance method | Private | Method | Read common domain coookie | 20090513 | |
| 4 | Instance method | Private | Method | Write common domain cookie | 20090513 | |
| 5 | Instance method | Public | Method | Check if managed name ID profile should be executed | 20090610 | |
| 6 | Instance method | Private | Constructor | CONSTRUCTOR | 20081125 | |
| 7 | Instance method | Public | Method | Generate an SSO request for partner | 20081126 | |
| 8 | Instance method | Public | Method | Generates a federation | 20081210 | |
| 9 | Static method | Public | Method | 20081110 | ||
| 10 | Instance method | Private | Method | Determine identity provider by rules | 20090513 | |
| 11 | Instance method | Public | Method | Determine the target address | 20081127 | |
| 12 | Instance method | Private | Method | Get the saml2idp POST parameter | 20100322 | |
| 13 | Instance method | Private | Method | 20090827 | ||
| 14 | Instance method | Public | Method | Returns the SAML2 response object | 20101216 | |
| 15 | Instance method | Public | Method | Returns the SAML response message | 20090326 | |
| 16 | Instance method | Public | Method | 20091130 | ||
| 17 | Instance method | Public | Method | Validates an SSO SAML Response | 20081201 |
Events
Class CL_SAML20_SSO has no event.
Types
Class CL_SAML20_SSO has no local type.
Method Signatures
Method CALL_EXTERNAL_CDC_SRVC Signature
Method CALL_EXTERNAL_CDC_SRVC on class CL_SAML20_SSO has no parameter.
Method CALL_EXTERNAL_CDC_SRVC on class CL_SAML20_SSO has no exception.
Method CALL_MANUAL_IDP_SELECTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_ENTITY | Value transfer | Object reference (TYPE REF TO) | CL_SAML20_ENTITY | SAML20 Entity Object | 20100322 | |||
| 2 | IV_REQUEST_METHOD | Call by reference | Type reference (TYPE) | STRING | 20130403 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | SAML20 Superclass Exceptions | 20100322 |
Method CDC_READ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ENTITIES | Call by reference | Type reference (TYPE) | SAML2_ENTITY_NAME_T | SAML2 Entitäten Tabelle | 20090513 | |||
| 2 | IF_COOKIE | Call by reference | Type reference (TYPE) | STRING | Cookie als String | 20090513 |
Method CDC_READ on class CL_SAML20_SSO has no exception.
Method CDC_WRITE Signature
Method CDC_WRITE on class CL_SAML20_SSO has no parameter.
Method CDC_WRITE on class CL_SAML20_SSO has no exception.
Method CHECK_AND_EXECUTE_NAMEID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_USER_ID | Call by reference | Type reference (TYPE) | XUBNAME | Benutzername im Benutzerstamm | 20090610 | |||
| 2 | IS_IDENTITY | Call by reference | Type reference (TYPE) | SAML2_IDENTITY | SAML2 Identitätsinformationen zur Sitzung | 20090610 |
Method CHECK_AND_EXECUTE_NAMEID on class CL_SAML20_SSO has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_CLIENT | Call by reference | Type reference (TYPE) | MANDT | Mandant | 20081205 | |||
| 2 | IF_MODE | Call by reference | Type reference (TYPE) | SAML2_ENTITY_MODE | Modus der Entität | 20081205 | |||
| 3 | IO_SERVER | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_SERVER | HTTP Framework (iHTTP) HTTP Server | 20081201 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Oberklasse SAML20 Ausnahmen | 20081125 |
Method CREATE_AUTHN_REQUEST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EF_MESSAGE | Call by reference | Type reference (TYPE) | STRING | SAML2 Nachricht | 20081126 | |||
| 2 | EF_MESSAGE_TYPE | Call by reference | Type reference (TYPE) | SAML2_BINDING_TYPE | SAML2 Bindungsart | 20081126 | |||
| 3 | IF_ACS_URL_MODE | Call by reference | Type reference (TYPE) | SAML2_ACS_URL_MODE | Art der ACS URL im AuthnRequest | 20090604 | |||
| 4 | IF_ALLOW_CREATE | Call by reference | Type reference (TYPE) | SAML2_BOOLEAN | Erlaube Federationerzeugung | 20081201 | |||
| 5 | IF_AUTH_CONTEXT | Call by reference | Type reference (TYPE) | SAML2_AUTH_CLASS_KEY | -1 | Schlüsselwert des SAML2 Authentifizierungsklasse | 20081201 | ||
| 6 | IF_CONSENT | Call by reference | Type reference (TYPE) | STRING | Consent Wert | 20081201 | |||
| 7 | IF_FORCE_AUTH | Call by reference | Type reference (TYPE) | SAML2_BOOLEAN | ABAP_FALSE | Erzwinge Authentifizierung | 20081201 | ||
| 8 | IF_NAMEID_FORMAT | Call by reference | Type reference (TYPE) | SAML2_NAMEID_KEY | -1 | SAML2 NameID Schlüssel | 20081201 | ||
| 9 | IF_PASSIVE | Call by reference | Type reference (TYPE) | SAML2_BOOLEAN | ABAP_FALSE | Erlaube GUI zur Anmeldung | 20081201 | ||
| 10 | IF_POLICY | Call by reference | Type reference (TYPE) | SAML2_POLICY_NAME | Name der SAML2 Richtlinie | 20090827 | |||
| 11 | IF_REQUEST_BINDING | Call by reference | Type reference (TYPE) | SAML2_BINDING_TYPE | SAML2 Bindungsart | 20090220 | |||
| 12 | IF_RESPONSE_BINDING | Call by reference | Type reference (TYPE) | SAML2_BINDING_TYPE | Antwort Binding | 20081201 | |||
| 13 | IF_SPNAMEQUALIFIER | Call by reference | Type reference (TYPE) | SAML2_ENTITY_KEY | SAML2 Entitätskennung für Affiliation | 20090225 | |||
| 14 | IF_TRUSTED_ENTITY | Call by reference | Type reference (TYPE) | SAML2_ENTITY_KEY | SAML2 Entitätskennung | 20081201 | |||
| 15 | IV_REQUEST_METHOD | Call by reference | Type reference (TYPE) | STRING | Original request method (GET/POST) | 20110926 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Oberklasse SAML20 Ausnahmen | 20081126 | ||
| 2 | Ausnahmen innerhalb der SAML2 Kernfunktion | 20081218 |
Method CREATE_FEDERATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_USER | Call by reference | Type reference (TYPE) | XUBNAME | Benutzername im Benutzerstamm | 20081210 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Oberklasse SAML20 Ausnahmen | 20081210 | ||
| 2 | Ausnahmen der Benutzer Federation | 20081210 |
Method CREATE_INSTANCE 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_SSO | SAML20 Profil: Single Sign-On (SSO) | 20081110 | |||
| 2 | IF_CLIENT | Call by reference | Type reference (TYPE) | MANDT | SY-MANDT | Mandantenkennung des aktuellen Benutzers | 20081201 | ||
| 3 | IF_LOCAL_MODE | Call by reference | Type reference (TYPE) | SAML2_ENTITY_MODE | Betriebsart der SAML2 Entität | 20081110 | |||
| 4 | IO_HTTP_SERVER | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_SERVER | HTTP Framework (iHTTP) HTTP Server | 20081201 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Oberklasse SAML20 Ausnahmen | 20081110 |
Method DETERMINE_IDP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_ENTITY | Value transfer | Object reference (TYPE REF TO) | CL_SAML20_ENTITY | IDP Objekt | 20090513 | |||
| 2 | EV_SCOPING_ELEMENT | Call by reference | Type reference (TYPE) | STRING | Authenticating IDP Name | 20121005 | |||
| 3 | IV_REQUEST_METHOD | Call by reference | Type reference (TYPE) | STRING | 20130403 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Oberklasse SAML20 Ausnahmen | 20090514 |
Method GET_DESTINATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EF_URL | Call by reference | Type reference (TYPE) | STRING | 20081127 |
Method GET_DESTINATION on class CL_SAML20_SSO has no exception.
Method GET_IDP_KEY_POST_PARAMETER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_FORM_FIELD | Call by reference | Type reference (TYPE) | STRING | IF_SAML20_CONSTANTS=>CO_HTTP_PARAMETER_IDP | 20110106 | |||
| 2 | RF_KEY | Value transfer | Type reference (TYPE) | STRING | 20100322 |
Method GET_IDP_KEY_POST_PARAMETER on class CL_SAML20_SSO has no exception.
Method GET_POLICY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_POLICY | Call by reference | Type reference (TYPE) | SAML2_POLICY | SAML2 Anmelderichtlinien für HTTP Dienste | 20090827 | |||
| 2 | ES_POL_AUTH | Call by reference | Type reference (TYPE) | SAML2_POL_AUTH | SAML2 Authentifizierungskontexte der Anmelderichtlinien | 20090827 | |||
| 3 | ET_POL_AUTH | Call by reference | Type reference (TYPE) | SAML2_AUTH_CLASS_KEY_T | 20090827 | ||||
| 4 | EV_COMPARISON_METHOD | Call by reference | Type reference (TYPE) | SAML2_COMPARISON_METHOD | Policy comparison method | 20101202 | |||
| 5 | IF_AUTH_CONTEXT | Call by reference | Type reference (TYPE) | SAML2_AUTH_CLASS_KEY | Schlüsselwert des SAML2 Anmeldekontextes | 20090827 | |||
| 6 | IF_CLIENT | Call by reference | Type reference (TYPE) | MANDT | SY-MANDT | Mandant | 20090827 | ||
| 7 | IF_NAME | Call by reference | Type reference (TYPE) | SAML2_POLICY_NAME | Name der SAML2 Richtlinie | 20090827 | |||
| 8 | IF_SET_ALWAYS_AUTHCTX | Call by reference | Type reference (TYPE) | SAML2_BOOLEAN | ABAP_FALSE | SAML2 Wahrheitswert | 20090827 | ||
| 9 | IF_TRUSTED_ENTITY_KEY | Call by reference | Type reference (TYPE) | SAML2_ENTITY_KEY | Schlüssel der SAML2 Entitätskennungs | 20091016 | |||
| 10 | IO_TRUSTED_ENTITY | Call by reference | Object reference (TYPE REF TO) | CL_SAML20_ENTITY | SAML20 Entitätsobjekt | 20090827 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20090827 |
Method GET_RESPONSE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_VALUE | Value transfer | Object reference (TYPE REF TO) | CL_SAML20_RESPONSE | SAML20 Response Message | 20101216 |
Method GET_RESPONSE on class CL_SAML20_SSO has no exception.
Method GET_SAML_RESPONSE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EF_MESSAGE | Call by reference | Type reference (TYPE) | STRING | 20090326 | ||||
| 2 | EF_XML | Call by reference | Type reference (TYPE) | XSDANY | XML-Fragment | 20090326 | |||
| 3 | IF_BASE64 | Call by reference | Type reference (TYPE) | SAML2_BOOLEAN | ABAP_FALSE | SAML2 Wahrheitswert | 20090326 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Oberklasse SAML20 Ausnahmen | 20090326 | ||
| 2 | Ausnahmen innerhalb der SAML2 Kernfunktion | 20090326 |
Method GET_SSO_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_RESPONSE | Call by reference | Type reference (TYPE) | SAML2P_RESPONSE | SAML2 Protokoll Struktur: SAMLResponse | 20091130 | |||
| 3 | EF_SUBJECT_NAMEID | Call by reference | Type reference (TYPE) | SAML2_NAME_ID | Struktur zu SAML 2.0 Typ: NameIDType | 20091130 | |||
| 4 | ET_ATTRIBUTES | Call by reference | Type reference (TYPE) | SAML2_ASSERTION_ATTRIBUTES_T | 20091130 |
Method GET_SSO_LOG_DATA on class CL_SAML20_SSO has no exception.
Method VALIDATE_RESPONSE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EF_SEND_FORCE_AUTH_REQ | Call by reference | Type reference (TYPE) | SAML2_BOOLEAN | SAML2 Wahrheitswert | 20091016 | |||
| 2 | EF_STATUS_MESSAGE | Call by reference | Type reference (TYPE) | STRING | 20090127 | ||||
| 3 | EF_USER_ID | Call by reference | Type reference (TYPE) | XUBNAME | Benutzername im Benutzerstamm | 20081208 | |||
| 4 | ES_IDENTITY | Call by reference | Type reference (TYPE) | SAML2_IDENTITY | Authentifizierungskontexte | 20090108 | |||
| 5 | ES_STATUS_CODE | Call by reference | Type reference (TYPE) | SAML2_STATUS_CODE_S | Struktur zum SAML 2.0 Status Codes | 20090127 | |||
| 6 | IF_BINDING_TYPE | Call by reference | Type reference (TYPE) | SAML2_BINDING_TYPE | 'POST' | SAML2 Bindungsart | 20081204 | ||
| 7 | IF_IS_SP_REGISTER_ENDPOINT | Call by reference | Type reference (TYPE) | SAML2_BOOLEAN | ABAP_FALSE | SAML2 Truth Value | 20121204 | ||
| 8 | IF_MESSAGE_STATEMENT | Call by reference | Type reference (TYPE) | STRING | 'SAMLResponse' | SAMLRequest, SAMLResponse oder SAMLart | 20081204 | ||
| 9 | IF_POLICY | Call by reference | Type reference (TYPE) | SAML2_POLICY_NAME | Name der SAML2 Richtlinie | 20091016 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Oberklasse SAML20 Ausnahmen | 20081204 | ||
| 2 | Ausnahmen der Benutzer Federation | 20081210 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 720 |