SAP ABAP Class CL_HTTP_SECURITY_SESSION_ICF (HTTP Security Session Management, ICF Usage)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SEC-LGN (Application Component) Authentication and SSO
⤷
SHTTP_SECURITY_SESSIONS (Package) HTTP Security Session Management
⤷
⤷
Properties
| Class | CL_HTTP_SECURITY_SESSION_ICF | |
| Short Description | HTTP Security Session Management, ICF Usage | |
| Super Class | ||
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SHTTP_SECURITY_SESSIONS | HTTP Security Session Management |
| Created | 20081121 | 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) |
Interfaces
Class CL_HTTP_SECURITY_SESSION_ICF has no interface implemented.
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_HTTP_EXT_MYSSOCNTL | 20110530 | HTTP Framework (iHTTP) HTTP Request Handler for PING | |
| 2 | CL_HTTP_SECURITY_SESSION_SAML | 20090716 | HTTP Security Session Management for SAML (SP) | |
| 3 | CL_HTTP_SERVER_NET | 20081121 | Derived HTTP Server Class for Network Communication | |
| 4 | CL_ICF_SYSTEM_LOGIN | 20090401 | ICF System Logon |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | SECURITY_SESSION_AUTHN_METHOD | CL_HTTP_SECURITY_SESSION=>CO_AUTHNMETHOD_ASSERTIONTICKET | Logon with Assertion Ticket | 20090310 | ||
| 2 | Constant | Public | Type reference (TYPE) | SECURITY_SESSION_AUTHN_METHOD | CL_HTTP_SECURITY_SESSION=>CO_AUTHNMETHOD_LOCALHTTPCALL | Local HTTP Call (Same System) | 20090310 | ||
| 3 | Constant | Public | Type reference (TYPE) | SECURITY_SESSION_AUTHN_METHOD | CL_HTTP_SECURITY_SESSION=>CO_AUTHNMETHOD_LOGONTICKET | Logon with Logon Ticket | 20090310 | ||
| 4 | Constant | Public | Type reference (TYPE) | SECURITY_SESSION_AUTHN_METHOD | CL_HTTP_SECURITY_SESSION=>CO_AUTHNMETHOD_PASSWORD | Password Logon | 20090310 | ||
| 5 | Constant | Public | Type reference (TYPE) | SECURITY_SESSION_AUTHN_METHOD | CL_HTTP_SECURITY_SESSION=>CO_AUTHNMETHOD_SAML | SAML Logon | 20090310 | ||
| 6 | Constant | Public | Type reference (TYPE) | SECURITY_SESSION_AUTHN_METHOD | CL_HTTP_SECURITY_SESSION=>CO_AUTHNMETHOD_SPNEGO | SPNego Logon | 20120709 | ||
| 7 | Constant | Public | Type reference (TYPE) | SECURITY_SESSION_AUTHN_METHOD | CL_HTTP_SECURITY_SESSION=>CO_AUTHNMETHOD_TRUSTEDSYSTEM | Trusted System Logon | 20090310 | ||
| 8 | Constant | Public | Type reference (TYPE) | SECURITY_SESSION_AUTHN_METHOD | CL_HTTP_SECURITY_SESSION=>CO_AUTHNMETHOD_X509CERT | X.509 Certificate Logon | 20090310 | ||
| 9 | Constant | Private | Type reference (TYPE) | STRING | 'SAP_SESSIONID_ |
Cookie Name (Before Variable Substitution) | 20081127 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Protected | Method | Check whether requested (local) logon is covered | 20081121 | |
| 2 | Static method | Protected | Method | Check whether requested (local) logon is covered | 20090119 | |
| 3 | Static method | Protected | Method | Check Session ID, Refresh Time Stamp | 20081121 | |
| 4 | Static method | Public | Method | See Function Module HTTP_CONFIRM_USERSWITCH | 20110525 | |
| 5 | Static method | Protected | Method | Creation of Security Session After Local Logon | 20081121 | |
| 6 | Static method | Public | Method | Name of Cookie (Transport of Security Session ID) | 20081127 | |
| 7 | Static method | Public | Method | Information: Is HTTP Security Session Management active? | 20081121 | |
| 8 | Static method | Protected | Method | Exit Security Session and All Application Sessions | 20081121 | |
| 9 | Static method | Protected | Method | Refreshing Security Session After Reauthentication | 20081121 |
Events
Class CL_HTTP_SECURITY_SESSION_ICF has no event.
Types
Class CL_HTTP_SECURITY_SESSION_ICF has no local type.
Method Signatures
Method CHECK_SECURITY_SESSION_AUTHN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLIENT | Call by reference | Type reference (TYPE) | MANDT | Mandant | 20081121 | |||
| 2 | CONTEXT_ID | Call by reference | Type reference (TYPE) | SECURITY_CONTEXT_ID | Security Kontext-ID (interne Darstellung der Session-ID) | 20081121 | |||
| 3 | LANGUAGE | Call by reference | Type reference (TYPE) | XULANGU | Anmeldesprache | 20081121 | |||
| 4 | PWDSTATE | Call by reference | Type reference (TYPE) | XUPWDSTATE | Status des Benutzerkennworts (Werte: -2/-1/0/1/2/3, s. Doku) | 20081121 | |||
| 5 | REQUESTED_AUTHMETHOD | Call by reference | Type reference (TYPE) | SECURITY_SESSION_AUTHN_METHOD | HTTP-Anmeldeverfahren (Ablage im Sicherheitskontext) | 20081121 | |||
| 6 | RESULT | Call by reference | Type reference (TYPE) | ABAP_BOOL | Kennzeichen: Session-Session deckt Anmeldeanforderung ab | 20081121 | |||
| 7 | SERVER | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_SERVER | HTTP Framework (iHTTP) HTTP Server | 20090324 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahme-Klasse zu CL_HTTP_SECURITY_SESSION | 20081121 |
Method CHECK_SECURITY_SESSION_AUTHNL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLIENT | Call by reference | Type reference (TYPE) | MANDT | Mandant | 20090119 | |||
| 2 | CONTEXT_ID | Call by reference | Type reference (TYPE) | SECURITY_CONTEXT_ID | Security Kontext-ID (interne Darstellung der Session-ID) | 20090119 | |||
| 3 | LANGUAGE | Call by reference | Type reference (TYPE) | XULANGU | Anmeldesprache | 20090119 | |||
| 4 | PWDSTATE | Call by reference | Type reference (TYPE) | XUPWDSTATE | Status des Benutzerkennworts (Werte: -2/-1/0/1/2/3, s. Doku) | 20090119 | |||
| 5 | REQUESTED_AUTHMETHODS | Call by reference | Type reference (TYPE) | AUTHENTICATION_METHOD_LIST | Liste: Authentisierungsmethoden (Service-Anforderung) | 20090119 | |||
| 6 | RESULT | Call by reference | Type reference (TYPE) | ABAP_BOOL | Kennzeichen: Session-Session deckt Anmeldeanforderung ab | 20090119 | |||
| 7 | SERVER | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_SERVER | HTTP Framework (iHTTP) HTTP Server | 20090324 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahme-Klasse zu CL_HTTP_SECURITY_SESSION | 20090119 |
Method CHECK_SECURITY_SESSION_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLIENT | Call by reference | Type reference (TYPE) | MANDT | Mandant | 20081121 | |||
| 2 | CONTEXT_ID | Call by reference | Type reference (TYPE) | SECURITY_CONTEXT_ID | Security Kontext-ID (interne Darstellung der Session-ID) | 20081121 | |||
| 3 | SESSION_ID | Call by reference | Type reference (TYPE) | SECURITY_SESSION_ID | Security Session ID (wird per Cookie übertragen) | 20081121 | |||
| 4 | USERID | Call by reference | Type reference (TYPE) | XUBNAME | Benutzername im Benutzerstamm | 20081121 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahme-Klasse zu CL_HTTP_SECURITY_SESSION | 20081121 |
Method CONFIRM_USERSWITCH_FOR_ITS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SESSION_ID | Value transfer | Type reference (TYPE) | SECURITY_SESSION_ID | Security Session ID (wird per Cookie übertragen) | 20110525 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahme-Klasse zu CL_HTTP_SECURITY_SESSION | 20110525 |
Method CREATE_SESSION_AFTER_LOCALAUTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | AUTHENTICATION_METHOD | Call by reference | Type reference (TYPE) | SECURITY_SESSION_AUTHN_METHOD | HTTP-Anmeldeverfahren (Ablage im Sicherheitskontext) | 20081121 | |||
| 2 | SESSION_ID | Value transfer | Type reference (TYPE) | SECURITY_SESSION_ID | Security Session ID (wird per Cookie übertragen) | 20081121 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahme-Klasse zu CL_HTTP_SECURITY_SESSION | 20081121 |
Method SECURITY_SESSIONID_COOKIE_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLIENT | Call by reference | Type reference (TYPE) | MANDT | SY-MANDT | Mandant | 20081127 | ||
| 2 | COOKIE_NAME | Value transfer | Type reference (TYPE) | STRING | 20081127 |
Method SECURITY_SESSIONID_COOKIE_NAME on class CL_HTTP_SECURITY_SESSION_ICF has no exception.
Method SESSION_MANAGEMENT_IS_ACTIVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLIENT | Call by reference | Type reference (TYPE) | MANDT | SY-MANDT | Mandant | 20081121 | ||
| 2 | RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | Schalter: HTTP Security Session Management aktiv / inaktiv | 20081121 |
Method SESSION_MANAGEMENT_IS_ACTIVE on class CL_HTTP_SECURITY_SESSION_ICF has no exception.
Method TERMINATE_SECURITY_SESSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLIENT | Call by reference | Type reference (TYPE) | MANDT | Mandant | 20081121 | |||
| 2 | PROPAGATE_LOGOFF | Call by reference | Type reference (TYPE) | SAP_BOOL | ABAP_TRUE | Abmeldung weiterleiten | 20090716 | ||
| 3 | REDIRECT_URL | Call by reference | Type reference (TYPE) | STRING | nach der Abmeldung gerufene URL | 20130906 | |||
| 4 | RESULT | Call by reference | Type reference (TYPE) | SESSION_TERMINATION_RESULT | textuelle Rückmeldung über den Erfolg eines Abmeldevorgangs | 20090323 | |||
| 5 | SERVER | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_SERVER | HTTP Framework (iHTTP) HTTP Server | 20081202 | |||
| 6 | SESSION_ID | Call by reference | Type reference (TYPE) | SECURITY_SESSION_ID | Security Session ID (wird per Cookie übertragen) | 20081121 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahme-Klasse zu CL_HTTP_SECURITY_SESSION | 20081121 |
Method UPDATE_SESSION_AFTER_LOCALAUTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | AUTHENTICATION_METHOD | Call by reference | Type reference (TYPE) | SECURITY_SESSION_AUTHN_METHOD | HTTP-Anmeldeverfahren (Ablage im Sicherheitskontext) | 20081121 | |||
| 2 | CURRENT_CONTEXT_ID | Call by reference | Type reference (TYPE) | SECURITY_CONTEXT_ID | Security Kontext-ID (interne Darstellung der Session-ID) | 20081121 | |||
| 3 | NEW_SESSION_ID | Value transfer | Type reference (TYPE) | SECURITY_SESSION_ID | Security Session ID (wird per Cookie übertragen) | 20081121 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahme-Klasse zu CL_HTTP_SECURITY_SESSION | 20081121 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 720 |