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 | 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 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Change lock is active | 20090911 | ||
| 2 | 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 | Static method | Public | Method | Check for valid values or value combinations | 20090917 | |
| 2 | Static method | Public | Method | Check for valid values or value combinations | 20090917 | |
| 3 | Static method | Public | Method | Create a security policy | 20090824 | |
| 4 | Static method | Public | Method | Delete a security policy | 20090824 | |
| 5 | Static method | Public | Method | Information: Does security policy exist? (Y / N) | 20090716 | |
| 6 | Static method | Public | Method | Value of an attribute of a security policy | 20090716 | |
| 7 | Static method | Public | Method | List of all (effective) security policy attribute values | 20090721 | |
| 8 | Static method | Private | Method | Attribute list from profile parameter (profile name SPACE) | 20110829 | |
| 9 | Static method | Public | Method | Information about a security policy | 20090721 | |
| 10 | Static method | Public | Method | Overview: all security policies that exist | 20090722 | |
| 11 | Static method | Public | Method | Set Lock | 20090911 | |
| 12 | Static method | Public | Method | Change a security policy | 20090824 | |
| 13 | Static method | Public | Method | Change the description of a security policz | 20090825 | |
| 14 | 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 | MESSAGES | Call by reference | Type reference (TYPE) | BAPIRETTAB | Tabelle mit BAPI Return Informationen | 20090917 | |||
| 2 | POLICY | Call by reference | Type reference (TYPE) | SECURITY_POLICY_NAME | Sicherheitsrichtlinienname | 20090917 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | ATTRIBUTE_LIST | Call by reference | Type reference (TYPE) | SECURITY_POLICY_ATTRIBUTE_LIST | Liste: Sicherheitsrichtlinienattributwerte | 20090917 | |||
| 2 | HAS_ERROR | Call by reference | Type reference (TYPE) | ABAP_BOOL | Mindestens ein Fehler aufgetreten | 20090917 | |||
| 3 | MESSAGES | Call by reference | Type reference (TYPE) | BAPIRETTAB | Tabelle mit BAPI Return Informationen | 20090917 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmeklasse zu CL_SECURITY_POLICY | 20090917 |
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ATTRIBUTE_LIST | Call by reference | Type reference (TYPE) | SECURITY_POLICY_ATTRIBUTE_LIST | Liste: Sicherheitsrichtlinienattributwerte | 20090824 | |||
| 2 | DESCRIPTION | Call by reference | Type reference (TYPE) | SECURITY_POLICY_TEXT | Erläuternder Kurztext zu einer Sicherheitsrichtlinie | 20090824 | |||
| 3 | DISCARD_DEFAULT_VALUES | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Attribute mit Vorgabewerten verwerfen | 20091202 | ||
| 4 | INVALID_ATTRIBUTE_VALUES | Call by reference | Type reference (TYPE) | ABAP_BOOL | Mindestens ein Fehler aufgetreten | 20091202 | |||
| 5 | LANGUAGE | Call by reference | Type reference (TYPE) | LAISO | SPACE | Sprache nach ISO 639 | 20090824 | ||
| 6 | MESSAGES | Call by reference | Type reference (TYPE) | BAPIRETTAB | Tabelle mit BAPI Return Informationen | 20091202 | |||
| 7 | POLICY | Call by reference | Type reference (TYPE) | SECURITY_POLICY_NAME | Sicherheitsrichtlinienname | 20090824 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmeklasse zu CL_SECURITY_POLICY | 20090824 |
Method DELETE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | POLICY | Call by reference | Type reference (TYPE) | SECURITY_POLICY_NAME | 20090824 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmeklasse zu CL_SECURITY_POLICY | 20090824 |
Method EXISTS 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 (leer = aktuell) | 20110826 | |||
| 2 | NAME | Call by reference | Type reference (TYPE) | SECURITY_POLICY_NAME | Sicherheitsrichtlinienname | 20090716 | |||
| 3 | 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 | ATTRIBUTE | Call by reference | Type reference (TYPE) | SECURITY_POLICY_ATTRIB_KEY | technischer Name eines Sicherheitsrichtlinienattributs | 20090716 | |||
| 2 | POLICY | Call by reference | Type reference (TYPE) | SECURITY_POLICY_NAME | Sicherheitsrichtlinienname | 20090716 | |||
| 3 | VALUE | Value transfer | Type reference (TYPE) | SECURITY_POLICY_ATTRIB_VALUE | Wert eines Sicherheitsrichtlinienattributs | 20090716 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | ATTRIBUTE_LIST | Value transfer | Type reference (TYPE) | SECURITY_POLICY_ATTRIBUTE_LIST | Liste von Sicherheitsrichtlinienattributen | 20090721 | |||
| 2 | CLIENT | Call by reference | Type reference (TYPE) | MANDT | Mandant (leer = aktuell) | 20110826 | |||
| 3 | ONLY_PERSISTED_CONTENT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Schalter: fehlende Attribute mit Default-Werten ergänzen? | 20090917 | ||
| 4 | POLICY | Call by reference | Type reference (TYPE) | SECURITY_POLICY_NAME | Sicherheitsrichtlinienname | 20090721 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | ATTRIBUTE_LIST | Value transfer | Type reference (TYPE) | SECURITY_POLICY_ATTRIBUTE_LIST | Liste: Sicherheitsrichtlinienattributwerte | 20110829 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | LANGUAGE | Call by reference | Type reference (TYPE) | LAISO | SPACE | Sprache nach ISO 639 | 20090721 | ||
| 2 | NAME | Call by reference | Type reference (TYPE) | SECURITY_POLICY_NAME | Sicherheitsrichtlinienname | 20090721 | |||
| 3 | RESULT | Value transfer | Type reference (TYPE) | SECURITY_POLICY_INFO | Informationen über eine Sicherheitsrichtlinie | 20090721 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | LANGUAGE | Call by reference | Type reference (TYPE) | LAISO | SPACE | Sprache nach ISO 639 | 20090722 | ||
| 2 | RESULT | Value transfer | Type reference (TYPE) | SECURITY_POLICY_LIST | Liste: vorhandene Sicherheitsrichtlinien | 20090722 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | Ausnahmeklasse zu CL_SECURITY_POLICY | 20090911 |
Method MODIFY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DISCARD_DEFAULT_VALUES | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Attribute mit Vorgabewerten verwerfen | 20091202 | ||
| 2 | INVALID_ATTRIBUTE_VALUES | Call by reference | Type reference (TYPE) | ABAP_BOOL | Mindestens ein Fehler aufgetreten | 20091202 | |||
| 3 | MESSAGES | Call by reference | Type reference (TYPE) | BAPIRETTAB | Tabelle mit BAPI Return Informationen | 20091202 | |||
| 4 | MODIFIED_ATTRIBUTES | Call by reference | Type reference (TYPE) | SECURITY_POLICY_ATTRIBUTE_LIST | Liste geänderter Sicherheitsrichtlinienattributwerte | 20090825 | |||
| 5 | POLICY | Call by reference | Type reference (TYPE) | SECURITY_POLICY_NAME | Sicherheitsrichtlinienname | 20090824 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | DESCRIPTION | Call by reference | Type reference (TYPE) | SECURITY_POLICY_TEXT | Erläuternder Kurztext zu einer Sicherheitsrichtlinie | 20090825 | |||
| 2 | LANGUAGE | Call by reference | Type reference (TYPE) | LAISO | SPACE | Sprache nach ISO 639 | 20090825 | ||
| 3 | POLICY | Call by reference | Type reference (TYPE) | SECURITY_POLICY_NAME | Sicherheitsrichtlinienname | 20090825 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | Ausnahmeklasse zu CL_SECURITY_POLICY | 20090911 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 800 |