SAP ABAP Class CL_SECURITY_POLICY (Configuration of Security Policies)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SEC-LGN (Application Component) Authentication and SSO
     SECURITY_POLICY (Package) Security Policies
Properties
Class CL_SECURITY_POLICY  
Short Description Configuration of Security Policies    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SECURITY_POLICY   Security Policies 
Created 20090701   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_SECURITY_POLICY has no interface implemented.
Friends
Class CL_SECURITY_POLICY has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 LOCKED Static Attribute Private Type reference (TYPE) ABAP_BOOL ABAP_FALSE Change lock is active 20090911
2 UNITTEST Static Attribute Private Type reference (TYPE) ABAP_BOOL ABAP_FALSE Module test is active 20091210
Methods
# Method Level Visibility Method type Description Created on
1 CHECK Static method Public Method Check for valid values or value combinations 20090917
2 CHECK_ATTRIBUTE_VALUE_LIST Static method Public Method Check for valid values or value combinations 20090917
3 CREATE Static method Public Method Create a security policy 20090824
4 DELETE Static method Public Method Delete a security policy 20090824
5 EXISTS Static method Public Method Information: Does security policy exist? (Y / N) 20090716
6 GET_ATTRIBUTE_VALUE Static method Public Method Value of an attribute of a security policy 20090716
7 GET_ATTRIBUTE_VALUE_LIST Static method Public Method List of all (effective) security policy attribute values 20090721
8 GET_ATTRIBUTE_VALUE_LIST_PROF Static method Private Method Attribute list from profile parameter (profile name SPACE) 20110829
9 GET_INFO Static method Public Method Information about a security policy 20090721
10 LIST_ALL_AVAILABLE Static method Public Method Overview: all security policies that exist 20090722
11 LOCK_ALL Static method Public Method Set Lock 20090911
12 MODIFY Static method Public Method Change a security policy 20090824
13 MODIFY_DESCRIPTION Static method Public Method Change the description of a security policz 20090825
14 UNLOCK_ALL Static method Public Method Remove Block 20090911
Events
Class CL_SECURITY_POLICY has no event.
Types
Class CL_SECURITY_POLICY has no local type.
Method Signatures

Method CHECK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting MESSAGES Call by reference Type reference (TYPE) BAPIRETTAB Tabelle mit BAPI Return Informationen 20090917
2 Importing POLICY Call by reference Type reference (TYPE) SECURITY_POLICY_NAME Sicherheitsrichtlinienname 20090917
# Exception Resumable Description Created on
1 CX_SECURITY_POLICY Ausnahmeklasse zu CL_SECURITY_POLICY 20090917

Method CHECK_ATTRIBUTE_VALUE_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ATTRIBUTE_LIST Call by reference Type reference (TYPE) SECURITY_POLICY_ATTRIBUTE_LIST Liste: Sicherheitsrichtlinienattributwerte 20090917
2 Exporting HAS_ERROR Call by reference Type reference (TYPE) ABAP_BOOL Mindestens ein Fehler aufgetreten 20090917
3 Exporting MESSAGES Call by reference Type reference (TYPE) BAPIRETTAB Tabelle mit BAPI Return Informationen 20090917
# Exception Resumable Description Created on
1 CX_SECURITY_POLICY Ausnahmeklasse zu CL_SECURITY_POLICY 20090917

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ATTRIBUTE_LIST Call by reference Type reference (TYPE) SECURITY_POLICY_ATTRIBUTE_LIST Liste: Sicherheitsrichtlinienattributwerte 20090824
2 Importing DESCRIPTION Call by reference Type reference (TYPE) SECURITY_POLICY_TEXT Erläuternder Kurztext zu einer Sicherheitsrichtlinie 20090824
3 Importing DISCARD_DEFAULT_VALUES Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Attribute mit Vorgabewerten verwerfen 20091202
4 Exporting INVALID_ATTRIBUTE_VALUES Call by reference Type reference (TYPE) ABAP_BOOL Mindestens ein Fehler aufgetreten 20091202
5 Importing LANGUAGE Call by reference Type reference (TYPE) LAISO SPACE Sprache nach ISO 639 20090824
6 Exporting MESSAGES Call by reference Type reference (TYPE) BAPIRETTAB Tabelle mit BAPI Return Informationen 20091202
7 Importing POLICY Call by reference Type reference (TYPE) SECURITY_POLICY_NAME Sicherheitsrichtlinienname 20090824
# Exception Resumable Description Created on
1 CX_SECURITY_POLICY Ausnahmeklasse zu CL_SECURITY_POLICY 20090824

Method DELETE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing POLICY Call by reference Type reference (TYPE) SECURITY_POLICY_NAME 20090824
# Exception Resumable Description Created on
1 CX_SECURITY_POLICY Ausnahmeklasse zu CL_SECURITY_POLICY 20090824

Method EXISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CLIENT Call by reference Type reference (TYPE) MANDT Mandant (leer = aktuell) 20110826
2 Importing NAME Call by reference Type reference (TYPE) SECURITY_POLICY_NAME Sicherheitsrichtlinienname 20090716
3 Returning RESULT Value transfer Type reference (TYPE) ABAP_BOOL Auskunft: Sicherheitsrichtlinie existiert? 20090716

Method EXISTS on class CL_SECURITY_POLICY has no exception.

Method GET_ATTRIBUTE_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ATTRIBUTE Call by reference Type reference (TYPE) SECURITY_POLICY_ATTRIB_KEY technischer Name eines Sicherheitsrichtlinienattributs 20090716
2 Importing POLICY Call by reference Type reference (TYPE) SECURITY_POLICY_NAME Sicherheitsrichtlinienname 20090716
3 Returning VALUE Value transfer Type reference (TYPE) SECURITY_POLICY_ATTRIB_VALUE Wert eines Sicherheitsrichtlinienattributs 20090716
# Exception Resumable Description Created on
1 CX_SECURITY_POLICY Ausnahmeklasse zu CL_SECURITY_POLICY 20090716

Method GET_ATTRIBUTE_VALUE_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ATTRIBUTE_LIST Value transfer Type reference (TYPE) SECURITY_POLICY_ATTRIBUTE_LIST Liste von Sicherheitsrichtlinienattributen 20090721
2 Importing CLIENT Call by reference Type reference (TYPE) MANDT Mandant (leer = aktuell) 20110826
3 Importing ONLY_PERSISTED_CONTENT Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Schalter: fehlende Attribute mit Default-Werten ergänzen? 20090917
4 Importing POLICY Call by reference Type reference (TYPE) SECURITY_POLICY_NAME Sicherheitsrichtlinienname 20090721
# Exception Resumable Description Created on
1 CX_SECURITY_POLICY Ausnahmeklasse zu CL_SECURITY_POLICY 20090721

Method GET_ATTRIBUTE_VALUE_LIST_PROF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ATTRIBUTE_LIST Value transfer Type reference (TYPE) SECURITY_POLICY_ATTRIBUTE_LIST Liste: Sicherheitsrichtlinienattributwerte 20110829
# Exception Resumable Description Created on
1 CX_SECURITY_POLICY Ausnahmeklasse zu CL_SECURITY_POLICY 20110829

Method GET_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LANGUAGE Call by reference Type reference (TYPE) LAISO SPACE Sprache nach ISO 639 20090721
2 Importing NAME Call by reference Type reference (TYPE) SECURITY_POLICY_NAME Sicherheitsrichtlinienname 20090721
3 Returning RESULT Value transfer Type reference (TYPE) SECURITY_POLICY_INFO Informationen über eine Sicherheitsrichtlinie 20090721
# Exception Resumable Description Created on
1 CX_SECURITY_POLICY Ausnahmeklasse zu CL_SECURITY_POLICY 20090721

Method LIST_ALL_AVAILABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LANGUAGE Call by reference Type reference (TYPE) LAISO SPACE Sprache nach ISO 639 20090722
2 Returning RESULT Value transfer Type reference (TYPE) SECURITY_POLICY_LIST Liste: vorhandene Sicherheitsrichtlinien 20090722
# Exception Resumable Description Created on
1 CX_SECURITY_POLICY Ausnahmeklasse zu CL_SECURITY_POLICY 20090722

Method LOCK_ALL Signature

Method LOCK_ALL on class CL_SECURITY_POLICY has no parameter.
# Exception Resumable Description Created on
1 CX_SECURITY_POLICY Ausnahmeklasse zu CL_SECURITY_POLICY 20090911

Method MODIFY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DISCARD_DEFAULT_VALUES Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Attribute mit Vorgabewerten verwerfen 20091202
2 Exporting INVALID_ATTRIBUTE_VALUES Call by reference Type reference (TYPE) ABAP_BOOL Mindestens ein Fehler aufgetreten 20091202
3 Exporting MESSAGES Call by reference Type reference (TYPE) BAPIRETTAB Tabelle mit BAPI Return Informationen 20091202
4 Importing MODIFIED_ATTRIBUTES Call by reference Type reference (TYPE) SECURITY_POLICY_ATTRIBUTE_LIST Liste geänderter Sicherheitsrichtlinienattributwerte 20090825
5 Importing POLICY Call by reference Type reference (TYPE) SECURITY_POLICY_NAME Sicherheitsrichtlinienname 20090824
# Exception Resumable Description Created on
1 CX_SECURITY_POLICY Ausnahmeklasse zu CL_SECURITY_POLICY 20090824

Method MODIFY_DESCRIPTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DESCRIPTION Call by reference Type reference (TYPE) SECURITY_POLICY_TEXT Erläuternder Kurztext zu einer Sicherheitsrichtlinie 20090825
2 Importing LANGUAGE Call by reference Type reference (TYPE) LAISO SPACE Sprache nach ISO 639 20090825
3 Importing POLICY Call by reference Type reference (TYPE) SECURITY_POLICY_NAME Sicherheitsrichtlinienname 20090825
# Exception Resumable Description Created on
1 CX_SECURITY_POLICY Ausnahmeklasse zu CL_SECURITY_POLICY 20090825

Method UNLOCK_ALL Signature

Method UNLOCK_ALL on class CL_SECURITY_POLICY has no parameter.
# Exception Resumable Description Created on
1 CX_SECURITY_POLICY Ausnahmeklasse zu CL_SECURITY_POLICY 20090911
History
Last changed by/on SAP  20130531 
SAP Release Created in 800