SAP ABAP Class CL_SAML20_TRACE (SAML 2.0 Tracing)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SEC-LGN-SML (Application Component) SAML 2.0
⤷
SAML2_COMMON (Package) SAML2 Common
⤷
⤷
Properties
| Class | CL_SAML20_TRACE | |
| Short Description | SAML 2.0 Tracing | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SAML2_COMMON | SAML2 Common |
| Created | 20090518 | 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_TRACE has no interface implemented.
Friends
Class CL_SAML20_TRACE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | I | 1 | 20090518 | |||
| 2 | Constant | Public | Type reference (TYPE) | I | 2 | 20090518 | |||
| 3 | Constant | Public | Type reference (TYPE) | I | 4 | 20090518 | |||
| 4 | Constant | Public | Type reference (TYPE) | I | 5 | 20090518 | |||
| 5 | Constant | Public | Type reference (TYPE) | I | 3 | 20090518 | |||
| 6 | Constant | Public | Type reference (TYPE) | I | 6 | 20090518 | |||
| 7 | Constant | Public | Type reference (TYPE) | I | 7 | 20090716 | |||
| 8 | Constant | Private | Type reference (TYPE) | X | 02 | 20090518 | |||
| 9 | Constant | Private | Type reference (TYPE) | X | 01 | 20090518 | |||
| 10 | Constant | Private | Type reference (TYPE) | STRING | 'SAML20' | 20090518 | |||
| 11 | Constant | Public | Type reference (TYPE) | I | 1 | 20090518 | |||
| 12 | Constant | Public | Type reference (TYPE) | I | 2 | 20090518 | |||
| 13 | Constant | Public | Type reference (TYPE) | I | 3 | 20090518 | |||
| 14 | Constant | Public | Type reference (TYPE) | I | -1 | 20090518 | |||
| 15 | Instance attribute | Private | Type reference (TYPE) | TRACE_SESSION_S | 20100805 | ||||
| 16 | Instance attribute | Private | Type reference (TYPE) | SYMANDT | Client ID of Current User | 20090518 | |||
| 17 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_HTMLTIDY | HTML repair and conversion tool | 20090518 | |||
| 18 | Instance attribute | Private | Type reference (TYPE) | I | 20090518 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | 20100805 | ||
| 2 | Instance method | Public | Constructor | Constructor | 20090518 | |
| 3 | Instance method | Private | Method | Convert XML message to trace string | 20090518 | |
| 4 | Static method | Public | Method | Retunrs a string presentation of an exception | 20110602 | |
| 5 | Static method | Private | Method | Returns formatted description of an exception | 20110601 | |
| 6 | Static method | Private | Method | Returns where the exception was thrown | 20110601 | |
| 7 | Instance method | Public | Method | Returns the severity of the current trace session | 20110706 | |
| 8 | Instance method | Private | Method | Determines if the SAML2 message is signed | 20101014 | |
| 9 | Instance method | Public | Method | Returns true if there is an opened trace session | 20130813 | |
| 10 | Instance method | Public | Method | Write trace entry in an exception | 20090518 | |
| 11 | Instance method | Public | Method | Write trace entry for federation | 20090518 | |
| 12 | Instance method | Public | Method | Trace an HTTP request | 20101209 | |
| 13 | Instance method | Public | Method | Write trace entry for identity provider selection | 20090518 | |
| 14 | Instance method | Public | Method | Write trace entry for a message | 20090518 | |
| 15 | Instance method | Public | Method | Write trace entry for the SAML session | 20090518 | |
| 16 | Instance method | Public | Method | Write Trace Entry | 20090518 | |
| 17 | Instance method | Private | Method | 20100902 | ||
| 18 | Static method | Public | Method | Write a log entry | 20090519 |
Events
Class CL_SAML20_TRACE has no event.
Types
Class CL_SAML20_TRACE has no local type.
Method Signatures
Method CAN_BE_TRACED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_SEVERITY | Call by reference | Type reference (TYPE) | TRACE_CATEGORY | 20100805 | ||||
| 2 | RV_VALUE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20100805 |
Method CAN_BE_TRACED on class CL_SAML20_TRACE 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) | SYMANDT | Mandantenkennung des aktuellen Benutzers | 20090518 |
Method CONSTRUCTOR on class CL_SAML20_TRACE has no exception.
Method CONVERT_XML2STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EF_STRING | Call by reference | Type reference (TYPE) | STRING | 20090518 | ||||
| 2 | IF_XML | Call by reference | Type reference (TYPE) | XSTRING | 20090518 |
Method CONVERT_XML2STRING on class CL_SAML20_TRACE has no exception.
Method FORMAT_EXCEPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_EXCEPTION | Call by reference | Object reference (TYPE REF TO) | CX_SAML20 | SAML20 Superclass Exceptions | 20110602 | |||
| 2 | IV_PREFIX | Call by reference | Type reference (TYPE) | STRING | '' | Prefix before every exception line | 20110602 | ||
| 3 | RV_EXCEPTION_STACK_STR | Value transfer | Type reference (TYPE) | STRING | exception stack | 20110602 |
Method FORMAT_EXCEPTION on class CL_SAML20_TRACE has no exception.
Method GET_EXCEPTION_DESCRIPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_EXCEPTION | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Abstract Superclass for All Global Exceptions | 20110601 | |||
| 2 | RV_DESCRIPTION | Value transfer | Type reference (TYPE) | STRING | 20110601 |
Method GET_EXCEPTION_DESCRIPTION on class CL_SAML20_TRACE has no exception.
Method GET_EXCEPTION_SOURCE_POSITION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_EXCEPTION | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Abstract Superclass for All Global Exceptions | 20110601 | |||
| 2 | RV_SOURCE_POSITION | Value transfer | Type reference (TYPE) | STRING | 20110601 |
Method GET_EXCEPTION_SOURCE_POSITION on class CL_SAML20_TRACE has no exception.
Method GET_TRACE_SESSION_SEVERITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_SEVERITY | Value transfer | Type reference (TYPE) | TRACE_SEVERITY | Severity of a trace session or trace message | 20110706 |
Method GET_TRACE_SESSION_SEVERITY on class CL_SAML20_TRACE has no exception.
Method IS_SIGNED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_TRUSTED_ENTITY | Call by reference | Object reference (TYPE REF TO) | CL_SAML20_ENTITY | SAML20 Entity Object | 20101014 | |||
| 2 | IV_BINDING_TYPE | Call by reference | Type reference (TYPE) | SAML2_BINDING_TYPE | SAML2 Binding Type | 20101014 | |||
| 3 | IV_IS_INCOMING | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20101014 | ||||
| 4 | IV_SERVICE_TYPE | Call by reference | Type reference (TYPE) | SAML2_PROFILE_TYPE | SAML2 Profiles | 20101014 | |||
| 5 | IV_SIGNED | Call by reference | Type reference (TYPE) | SAML2_BOOLEAN | SAML2 Truth Value | 20110121 | |||
| 6 | RV_SIGNED | Value transfer | Type reference (TYPE) | STRING | 20101014 |
Method IS_SIGNED on class CL_SAML20_TRACE has no exception.
Method IS_TRACING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_VALUE | Value transfer | Type reference (TYPE) | SAML2_BOOLEAN | SAML2 Truth Value | 20130813 |
Method IS_TRACING on class CL_SAML20_TRACE has no exception.
Method TRACE_EXCEPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_EXCEPTION | Call by reference | Object reference (TYPE REF TO) | CX_SAML20 | Oberklasse SAML20 Ausnahmen | 20090518 | |||
| 2 | IV_TRACE_SEVERITY | Call by reference | Type reference (TYPE) | TRACE_SEVERITY | IF_TRACE_CONSTANTS=>GC_SEVERITY_ERROR | Severity of a trace session or trace message | 20100805 | ||
| 3 | IV_TRACE_SP_CLIENT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20110707 |
Method TRACE_EXCEPTION on class CL_SAML20_TRACE has no exception.
Method TRACE_FEDERATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_ACTION | Call by reference | Type reference (TYPE) | I | 20090518 | ||||
| 2 | IF_NAMEID | Call by reference | Type reference (TYPE) | SAML2_NAMEID_IDP | SAML2 Name am IDP | 20090518 | |||
| 3 | IF_NAMEID_KEY | Call by reference | Type reference (TYPE) | SAML2_NAMEID_KEY | SAML2 Anmeldeformat | 20090518 | |||
| 4 | IF_USER_ID | Call by reference | Type reference (TYPE) | XUBNAME | Benutzername im Benutzerstamm | 20090518 | |||
| 5 | IV_TRACE_SEVERITY | Call by reference | Type reference (TYPE) | TRACE_CATEGORY | IF_TRACE_CONSTANTS=>GC_SEVERITY_INFO | 20100805 | |||
| 6 | IV_TRACE_SP_CLIENT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20110707 |
Method TRACE_FEDERATION on class CL_SAML20_TRACE has no exception.
Method TRACE_HTTP_REQUEST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_SERVER | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_SERVER | HTTP Framework (iHTTP) HTTP Server | 20101209 | |||
| 2 | IV_TRACE_SEVERITY | Call by reference | Type reference (TYPE) | TRACE_SEVERITY | IF_TRACE_CONSTANTS=>GC_SEVERITY_INFO | Severity of a trace session or trace message | 20101209 | ||
| 3 | IV_TRACE_SP_CLIENT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20110707 |
Method TRACE_HTTP_REQUEST on class CL_SAML20_TRACE has no exception.
Method TRACE_IDP_SELECTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_IDP_NAME | Call by reference | Type reference (TYPE) | SAML2_ENTITY_NAME | SAML2 Entitätskennung | 20090518 | |||
| 2 | IF_SOURCE | Call by reference | Type reference (TYPE) | STRING | 20090518 | ||||
| 3 | IV_TRACE_SEVERITY | Call by reference | Type reference (TYPE) | TRACE_CATEGORY | IF_TRACE_CONSTANTS=>GC_SEVERITY_INFO | 20100805 | |||
| 4 | IV_TRACE_SP_CLIENT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20110707 |
Method TRACE_IDP_SELECTION on class CL_SAML20_TRACE has no exception.
Method TRACE_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_ARTIFACT | Call by reference | Type reference (TYPE) | STRING | 20090518 | ||||
| 2 | IF_BINDING_TYPE | Call by reference | Type reference (TYPE) | SAML2_BINDING_TYPE | SAML2 Bindungsart | 20090518 | |||
| 3 | IF_DESTINATION | Call by reference | Type reference (TYPE) | STRING | 20090518 | ||||
| 4 | IF_IDP_NAME | Call by reference | Type reference (TYPE) | SAML2_ENTITY_NAME | SAML2 Entitätskennung | 20090518 | |||
| 5 | IF_IS_DECRYPTED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20101123 | ||||
| 6 | IF_MESSAGE_INCOMING | Call by reference | Type reference (TYPE) | STRING | 20090518 | ||||
| 7 | IF_MESSAGE_OUTGOING | Call by reference | Type reference (TYPE) | STRING | 20090518 | ||||
| 8 | IF_SIGNED | Call by reference | Type reference (TYPE) | SAML2_BOOLEAN | SAML2 Truth Value | 20110121 | |||
| 9 | IF_STATUS_CODE | Call by reference | Type reference (TYPE) | SAML2_STATUS_CODE | Statuswert einer SAML2 Nachricht | 20090518 | |||
| 10 | IF_XML | Call by reference | Type reference (TYPE) | XSTRING | 20090518 | ||||
| 11 | IF_XML_STR | Call by reference | Type reference (TYPE) | STRING | 20101123 | ||||
| 12 | IO_TRUSTED_ENTITY | Call by reference | Object reference (TYPE REF TO) | CL_SAML20_ENTITY | SAML20 Entity Object | 20101014 | |||
| 13 | IV_SERVICE_TYPE | Call by reference | Type reference (TYPE) | SAML2_PROFILE_TYPE | SAML2 Profiles | 20101014 | |||
| 14 | IV_TRACE_SEVERITY | Call by reference | Type reference (TYPE) | TRACE_CATEGORY | IF_TRACE_CONSTANTS=>GC_SEVERITY_INFO | 20100805 | |||
| 15 | IV_TRACE_SP_CLIENT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20110707 |
Method TRACE_MESSAGE on class CL_SAML20_TRACE has no exception.
Method TRACE_SAML_SESSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_ACTION | Call by reference | Type reference (TYPE) | I | 20090518 | ||||
| 2 | IF_REASON | Call by reference | Type reference (TYPE) | CLIKE | 20090518 | ||||
| 3 | IF_SECURITY_CONTEXT_REF | Call by reference | Type reference (TYPE) | SECURITY_CONTEXT_REF | interne Referenz auf Sicherheitskontext (zeitinvariant) | 20090518 | |||
| 4 | IV_TRACE_SEVERITY | Call by reference | Type reference (TYPE) | TRACE_CATEGORY | IF_TRACE_CONSTANTS=>GC_SEVERITY_INFO | 20100805 | |||
| 5 | IV_TRACE_SP_CLIENT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20110707 |
Method TRACE_SAML_SESSION on class CL_SAML20_TRACE has no exception.
Method TRACE_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_TEXT | Call by reference | Type reference (TYPE) | STRING | Daten für die Trace-Zeile | 20090518 | |||
| 2 | IF_TRACE_LEVEL | Call by reference | Type reference (TYPE) | I | 2 | Tracelevel (-1 = TRCERR) | 20090518 | ||
| 3 | IV_TRACE_SEVERITY | Call by reference | Type reference (TYPE) | TRACE_SEVERITY | IF_TRACE_CONSTANTS=>GC_SEVERITY_INFO | 20100805 | |||
| 4 | IV_TRACE_SP_CLIENT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20110707 |
Method TRACE_TEXT on class CL_SAML20_TRACE has no exception.
Method TRACE_TEXT_INTERNAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_TEXT | Call by reference | Type reference (TYPE) | STRING | Data for the Trace Line | 20100902 | |||
| 2 | IF_TRACE_LEVEL | Call by reference | Type reference (TYPE) | I | 2 | Trace Level (-1 = TRCERR) | 20100902 | ||
| 3 | IF_TRACE_SESSION_TEXT | Call by reference | Type reference (TYPE) | STRING | 20100902 | ||||
| 4 | IO_SERVER | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_SERVER | HTTP Framework (iHTTP) HTTP Server | 20101209 | |||
| 5 | IV_TRACE_SEVERITY | Call by reference | Type reference (TYPE) | TRACE_SEVERITY | IF_TRACE_CONSTANTS=>GC_SEVERITY_INFO | 20100902 | |||
| 6 | IV_TRACE_SP_CLIENT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | True if the abap client should be dumped in the prefix | 20110707 |
Method TRACE_TEXT_INTERNAL on class CL_SAML20_TRACE has no exception.
Method WRITE_LOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IF_TEXT | Call by reference | Type reference (TYPE) | STRING | 20090519 |
Method WRITE_LOG on class CL_SAML20_TRACE has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 800 |