SAP ABAP Class CL_SECURITY_TOKEN_CACHE (WS Security: Security Token Cache)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SEC (Application Component) Security
     SOAP_SECURITY (Package) SOAP Security
Properties
Class CL_SECURITY_TOKEN_CACHE  
Short Description WS Security: Security Token Cache    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SOAP_SECURITY   SOAP Security 
Created 20080111   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_SECURITY_TOKEN_CACHE has no forward declaration.
Interfaces
Class CL_SECURITY_TOKEN_CACHE has no interface implemented.
Friends
Class CL_SECURITY_TOKEN_CACHE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_APPL_SERVER_SEPARATOR Constant Protected Type reference (TYPE) CHAR1 '/' Appl. server Separator im ID 20080124
2 CO_LOCATION_CONSUMER Constant Public Type reference (TYPE) SEC_ST_CACHE_LOCATION 'C' WSSE Komponenten - Lokalisation 20080114
3 CO_LOCATION_PROVIDER Constant Public Type reference (TYPE) SEC_ST_CACHE_LOCATION 'P' WSSE Komponenten - Lokalisation 20080114
4 CO_RC_DIFFERENT_USER Constant Protected Type reference (TYPE) INT4 6 ST cache entry uname <> actual uname 20080117
5 CO_RC_EXIST Constant Public Type reference (TYPE) INT4 0 ST cache entry vorhanden 20080116
6 CO_RC_EXPIRED Constant Public Type reference (TYPE) INT4 1 ST cache entry gültigkeit abgelaufen 20080116
7 CO_RC_INV_DONE Constant Public Type reference (TYPE) INT4 0 ST cache entry wurde invalidiert 20080129
8 CO_RC_INV_NOT_FOUND Constant Public Type reference (TYPE) INT4 1 ST cache entry nicht gefunden 20080129
9 CO_RC_NOT_EXIST Constant Public Type reference (TYPE) INT4 4 ST cache entry nicht vorhanden 20080116
10 CO_STORAGE_DB Constant Public Type reference (TYPE) CHAR1 'D' Gespeichert in DB 20080115
11 CO_STORAGE_SHM Constant Public Type reference (TYPE) CHAR1 'S' Gespeichert in SHM 20080115
12 LIFETIME Static Attribute Public Type reference (TYPE) SHM_IDLE_TIME Max. Lebensdauer der Shared Object Instan 20080401
13 MO_STORAGE Instance attribute Protected Type reference (TYPE) CHAR1 20080115
Methods
# Method Level Visibility Method type Description Created on
1 ADD Instance method Public Method 20080114
2 CALCULATE_VALIDITY Instance method Protected Method 20080115
3 CHANGE_VALIDITY Instance method Public Method 20080111
4 CHECK_EXIST Instance method Public Method 20080114
5 CHECK_EXPIRATION_TS Instance method Protected Method 20080117
6 CHECK_USERNAME Instance method Protected Method 20080117
7 CLASS_CONSTRUCTOR Static method Public Constructor 20080401
8 CLEAN_UP Instance method Public Method 20080125
9 CREATE_CACHE_ID Instance method Protected Method 20080115
10 GET Instance method Public Method 20080114
11 INVALIDATE Instance method Public Method 20080128
12 REPLACE_SEC_DATA Instance method Public Method 20080205
13 S_GET_ACCESS_INSTANCE Static method Public Method 20080114
Events
Class CL_SECURITY_TOKEN_CACHE has no event.
Types
Class CL_SECURITY_TOKEN_CACHE has no local type.
Method Signatures

Method ADD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_CACHE_ENTRY Call by reference Type reference (TYPE) SEC_ST_CACHE_ENTRY Security Token Cache 20080131
2 Importing IM_CACHE_ID Call by reference Type reference (TYPE) SEC_ST_CACHE_ID ID der Security Token Cache 20080124
3 Importing IM_DBCON Call by reference Type reference (TYPE) DBCON_NAME Logical name for a database connection 20090311
4 Importing IM_LOCATION Call by reference Type reference (TYPE) SEC_ST_CACHE_LOCATION WSSE Komponenten - Lokalisation 20080114
5 Importing IM_PREFIX Call by reference Type reference (TYPE) CHAR4 Prefix 20080114
6 Importing IM_SEC_DATA_TAB Call by reference Type reference (TYPE) SEC_ST_CACHE_DATA_TAB Security Token Cache DATA 20080114
7 Importing IM_STORAGE Call by reference Type reference (TYPE) CHAR1 CO_STORAGE_SHM DB / SHM 20080115
8 Importing IM_VALID_TO Call by reference Type reference (TYPE) TIMESTAMP UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) 20080131

Method ADD on class CL_SECURITY_TOKEN_CACHE has no exception.

Method CALCULATE_VALIDITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_CREATED Call by reference Type reference (TYPE) TIMESTAMP UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) 20080115
2 Importing IM_VALIDITY Call by reference Type reference (TYPE) INT4 Natürliche Zahl 20080115
3 Returning R_TS_EXPIRE Value transfer Type reference (TYPE) TIMESTAMP UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) 20080117

Method CALCULATE_VALIDITY on class CL_SECURITY_TOKEN_CACHE has no exception.

Method CHANGE_VALIDITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_CREATED Call by reference Type reference (TYPE) TIMESTAMP UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) 20080205
2 Exporting E_EXPIRED Call by reference Type reference (TYPE) TIMESTAMP UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) 20080205
3 Exporting E_RC Value transfer Type reference (TYPE) SY-SUBRC Rückgabewert von ABAP-Anweisungen 20080205
4 Importing IM_CACHE_ID Call by reference Type reference (TYPE) SEC_ST_CACHE_ID ID der Security Token Cache 20080115
5 Importing IM_VALID_TO Call by reference Type reference (TYPE) TIMESTAMP UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) 20080131

Method CHANGE_VALIDITY on class CL_SECURITY_TOKEN_CACHE has no exception.

Method CHECK_EXIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_CACHE_ID Call by reference Type reference (TYPE) SEC_ST_CACHE_ID ID der Security Token Cache 20080114
2 Returning R_RC Value transfer Type reference (TYPE) SY-SUBRC ( rc = 0: EXIST; rc = 4 NOT EXIST) 20080114

Method CHECK_EXIST on class CL_SECURITY_TOKEN_CACHE has no exception.

Method CHECK_EXPIRATION_TS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_EXPIRATION_TIME Call by reference Type reference (TYPE) TIMESTAMP UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) 20080117
2 Returning R_RC Value transfer Type reference (TYPE) SYSUBRC Rückgabewert von ABAP-Anweisungen 20080117

Method CHECK_EXPIRATION_TS on class CL_SECURITY_TOKEN_CACHE has no exception.

Method CHECK_USERNAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_LOCATION Call by reference Type reference (TYPE) SEC_ST_CACHE_LOCATION WSSE Komponenten - Lokalisation 20080121
2 Importing IM_UNAME Call by reference Type reference (TYPE) XUBNAME Benutzername im Benutzerstamm 20080117
3 Returning R_RC Value transfer Type reference (TYPE) SYSUBRC Rückgabewert von ABAP-Anweisungen 20080117

Method CHECK_USERNAME on class CL_SECURITY_TOKEN_CACHE has no exception.

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_SECURITY_TOKEN_CACHE has no parameter.
Method CLASS_CONSTRUCTOR on class CL_SECURITY_TOKEN_CACHE has no exception.

Method CLEAN_UP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_TS_CHECK_CREATED Call by reference Type reference (TYPE) TIMESTAMP UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) 20080125
2 Importing IM_TS_CHECK_EXPIRED Call by reference Type reference (TYPE) TIMESTAMP UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) 20080125
3 Returning R_NR_OF_DELETED_LINES Value transfer Type reference (TYPE) I Anzahl der glöschte DB Einträge 20080125

Method CLEAN_UP on class CL_SECURITY_TOKEN_CACHE has no exception.

Method CREATE_CACHE_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_LOCATION Call by reference Type reference (TYPE) SEC_ST_CACHE_LOCATION WSSE Komponenten - Lokalisation 20080115
2 Importing IM_PREFIX Call by reference Type reference (TYPE) CHAR4 Prefix 20080115
3 Returning R_CACHE_ID Value transfer Type reference (TYPE) SEC_ST_CACHE_ID ID der Security Token Cache 20080115

Method CREATE_CACHE_ID on class CL_SECURITY_TOKEN_CACHE has no exception.

Method GET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_CACHE_ID Call by reference Type reference (TYPE) SEC_ST_CACHE_ID ID der Security Token Cache 20080114
2 Returning RS_CACHE_ENTRY Value transfer Type reference (TYPE) SEC_ST_CACHE_ENTRY Security Token Cache 20080115

Method GET on class CL_SECURITY_TOKEN_CACHE has no exception.

Method INVALIDATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_CACHE_ID Call by reference Type reference (TYPE) SEC_ST_CACHE_ID ID der Security Token Cache 20080128
2 Returning R_RC Value transfer Type reference (TYPE) SY-SUBRC Werte in den Konstante CO_RC_INV_* 20080128

Method INVALIDATE on class CL_SECURITY_TOKEN_CACHE has no exception.

Method REPLACE_SEC_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_RC Call by reference Type reference (TYPE) SY-SUBRC 20080205
2 Importing IM_CACHE_ID Call by reference Type reference (TYPE) SEC_ST_CACHE_ID 20080205
3 Importing IM_SEC_DATA_TAB Call by reference Type reference (TYPE) SEC_ST_CACHE_DATA_TAB 20080205

Method REPLACE_SEC_DATA on class CL_SECURITY_TOKEN_CACHE has no exception.

Method S_GET_ACCESS_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IF_REMOTE_CHECK Call by reference Type reference (TYPE) BOOLEAN 'X' ob die remote servers auch geprüft werden soll 20080116
2 Importing IM_STORAGE Call by reference Type reference (TYPE) CHAR1 CO_STORAGE_SHM Einstelliges Kennzeichen 20080115
3 Returning RO_WSST_CACHE_ACCESS Value transfer Object reference (TYPE REF TO) CL_SECURITY_TOKEN_CACHE WS Security: Security Token Cache 20080115

Method S_GET_ACCESS_INSTANCE on class CL_SECURITY_TOKEN_CACHE has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 711