SAP ABAP Class CL_GRAC_AUTH_META (Utility class for Authorization)
Hierarchy
☛
GRCFND_A (Software Component) GRC Foundation ABAP
⤷
GRC-AC (Application Component) Access Control
⤷
GRAC_ROLE_MANAGEMENT (Package) GRC ERM Support
⤷
⤷
Properties
| Class | CL_GRAC_AUTH_META | |
| Short Description | Utility class for Authorization | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | GRAC_ROLE_MANAGEMENT | GRC ERM Support |
| Created | 20090918 | SAP |
| Last change | 20141106 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_GRAC_AUTH_META has no interface implemented.
Friends
Class CL_GRAC_AUTH_META has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | STRING | 'ACTION' | Entity Type - Action | 20100325 | ||
| 2 | Constant | Public | Type reference (TYPE) | STRING | 'AUTHORIZATION' | Entity Type - Authorization | 20091029 | ||
| 3 | Constant | Public | Type reference (TYPE) | STRING | 'CLASS' | Entity Type - Class | 20091029 | ||
| 4 | Constant | Public | Type reference (TYPE) | STRING | 'FIELD' | Entity Type - Field | 20091029 | ||
| 5 | Constant | Public | Type reference (TYPE) | STRING | 'PERMISSION' | Entity Type - Permission | 20091029 | ||
| 6 | Constant | Public | Type reference (TYPE) | GRFN_CONNECTTYPE | 'SAP' | Connection Type | 20091029 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | Build the field value string | 20100710 | |
| 2 | Static method | Public | Method | Get all Action | 20090918 | |
| 3 | Static method | Public | Method | Return data for authrozation with descriptions | 20100715 | |
| 4 | Static method | Public | Method | Return data for object by class view | 20100709 | |
| 5 | Static method | Private | Method | Get the field value desc for available fields | 20100716 | |
| 6 | Static method | Public | Method | Return data for object by class view | 20091015 | |
| 7 | Static method | Public | Method | Get description for organization field and value description | 20100827 | |
| 8 | Static method | Public | Method | Get PFCG permission tree from backend system | 20091008 | |
| 9 | Static method | Private | Method | Get the descriptions for the value text string | 20100716 | |
| 10 | Static method | Private | Method | Update the maintain level of field level | 20100710 | |
| 11 | Static method | Private | Method | Update the traffic light of the field level | 20100710 |
Events
Class CL_GRAC_AUTH_META has no event.
Types
Class CL_GRAC_AUTH_META has no local type.
Method Signatures
Method BUILD_VALUE_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_VALUE_TEXT | Call by reference | Type reference (TYPE) | GRAC_VALUE_FIELD | Data Element for authorization value field | 20100710 | |||
| 2 | IS_ROLE_FLD_VAL | Call by reference | Type reference (TYPE) | GRAC_S_PFCG_ROLE_FLD_VAL | store role fields values | 20100716 | |||
| 3 | IT_ORG_LVL_FLD | Call by reference | Type reference (TYPE) | GRAC_T_ORGFLD_VALUE | Organization Value Table | 20100716 |
Method BUILD_VALUE_STRING on class CL_GRAC_AUTH_META has no exception.
Method GET_ALL_ACTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CONNECTION_TYPE | Call by reference | Type reference (TYPE) | GRFN_CONNECTTYPE | Connection Type | 20090918 | |||
| 2 | IV_LANGU | Call by reference | Type reference (TYPE) | SPRAS | Language Key | 20090918 | |||
| 3 | RT_ACTION | Value transfer | Type reference (TYPE) | GRAC_T_ACTION | Table type for Actions | 20091029 |
Method GET_ALL_ACTION on class CL_GRAC_AUTH_META has no exception.
Method GET_AUTH_DATA_DESCN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_UI_AUTH_OBC | Call by reference | Type reference (TYPE) | GRAC_T_UI_AUTH_OBC | Table type for Authorization - Object by Class | 20100715 | |||
| 2 | IV_CONNECTOR | Call by reference | Type reference (TYPE) | GRFN_CONNECTORID | Connector Id | 20100715 |
Method GET_AUTH_DATA_DESCN on class CL_GRAC_AUTH_META has no exception.
Method GET_AUTH_DATA_FOR_DISPLAY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_UI_AUTH_OBC | Call by reference | Type reference (TYPE) | GRAC_T_UI_AUTH_OBC | Authorization - Object by Class | 20100709 | |||
| 2 | ET_UI_AUTH_OBC_A | Call by reference | Type reference (TYPE) | GRAC_T_UI_AUTH_OBC | Authorization - Object by Action | 20100709 | |||
| 3 | IT_ORG_LVL_FLD | Call by reference | Type reference (TYPE) | GRAC_T_ORGFLD_VALUE | Organization Value Table | 20100709 | |||
| 4 | IT_ROLE_ACTION | Call by reference | Type reference (TYPE) | GRAC_T_ROLEACT | Role Actions | 20100709 | |||
| 5 | IT_ROLE_FLD_VAL | Call by reference | Type reference (TYPE) | GRAC_T_PFCG_ROLE_FLD_VAL | contains pfcg role field values | 20100709 | |||
| 6 | IT_ROLE_PERM | Call by reference | Type reference (TYPE) | GRAC_T_PFCG_ROLE_PERM | table of pfcg role objects | 20100709 | |||
| 7 | IT_ROLE_PERM_AUTH | Call by reference | Type reference (TYPE) | GRAC_T_PFCG_ROLE_PERM_AUTH | contains pfcg role permission's authorization | 20100709 | |||
| 8 | IV_CONNECTOR_GROUP | Call by reference | Type reference (TYPE) | GRFN_CONNECTORGRP | Connector Group | 20100709 | |||
| 9 | IV_FOR_ACTION | Call by reference | Type reference (TYPE) | BOOLEAN | '' | Boolean Variable (X=True, -=False, Space=Unknown) | 20100716 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20100709 |
Method GET_FIELD_VALUE_DESC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_UI_AUTH_OBC | Call by reference | Type reference (TYPE) | GRAC_T_UI_AUTH_OBC | Table type for Authorization - Object by Class | 20100716 | |||
| 2 | IV_CONNECTOR | Call by reference | Type reference (TYPE) | GRFN_CONNECTORID | Connector Id | 20100716 | |||
| 3 | RT_FLDVAL | Value transfer | Type reference (TYPE) | GRAC_T_FLDVAL | Table Type for field Values | 20100716 |
Method GET_FIELD_VALUE_DESC on class CL_GRAC_AUTH_META has no exception.
Method GET_OBJECT_BY_CLASS_VIEW_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_UI_AUTH_OBC | Call by reference | Type reference (TYPE) | GRAC_T_UI_AUTH_OBC | Authorization - Object by Class | 20100324 | |||
| 2 | ET_UI_AUTH_OBC_A | Call by reference | Type reference (TYPE) | GRAC_T_UI_AUTH_OBC | Authorization - Object by Action | 20100324 | |||
| 3 | IT_ORG_LVL_FLD | Call by reference | Type reference (TYPE) | GRAC_T_ORGFLD_VALUE | Organization Value Table | 20100519 | |||
| 4 | IT_ROLE_ACTION | Call by reference | Type reference (TYPE) | GRAC_T_ROLEACT | Role Actions | 20100325 | |||
| 5 | IT_ROLE_FLD_VAL | Call by reference | Type reference (TYPE) | GRAC_T_PFCG_ROLE_FLD_VAL | contains pfcg role field values | 20091015 | |||
| 6 | IT_ROLE_PERM | Call by reference | Type reference (TYPE) | GRAC_T_PFCG_ROLE_PERM | table of pfcg role objects | 20091015 | |||
| 7 | IT_ROLE_PERM_AUTH | Call by reference | Type reference (TYPE) | GRAC_T_PFCG_ROLE_PERM_AUTH | contains pfcg role permission's authorization | 20091015 | |||
| 8 | IV_CONNECTOR_GROUP | Call by reference | Type reference (TYPE) | GRFN_CONNECTORGRP | Connector Group | 20091029 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20091029 |
Method GET_ORG_LEVEL_FLD_DESCN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ORGLVLFLD_DETAIL | Call by reference | Type reference (TYPE) | GRAC_T_ORGFLD_VALUE_DETAIL | Organization Value Table | 20100827 | |||
| 2 | IT_ORGLVLFLD | Call by reference | Type reference (TYPE) | GRAC_T_ORGFLD_VALUE | Organization Value Table | 20100827 | |||
| 3 | IV_CONNECTOR | Call by reference | Type reference (TYPE) | GRFN_CONNECTORID | Connector Id | 20100827 |
Method GET_ORG_LEVEL_FLD_DESCN on class CL_GRAC_AUTH_META has no exception.
Method GET_PFCG_PERMISSION_TREE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ROLE_FIELD_VAL | Call by reference | Type reference (TYPE) | GRAC_T_PFCG_ROLE_FLD_VAL | contains pfcg role field values | 20091012 | |||
| 2 | ET_ROLE_ORGLVLFLD | Call by reference | Type reference (TYPE) | GRAC_T_ORGFLD_VALUE | Organization Value Table | 20091218 | |||
| 3 | ET_ROLE_PERM | Call by reference | Type reference (TYPE) | GRAC_T_PFCG_ROLE_PERM | table of pfcg role objects | 20091012 | |||
| 4 | ET_ROLE_PERM_AUTH | Call by reference | Type reference (TYPE) | GRAC_T_PFCG_ROLE_PERM_AUTH | contains pfcg role permission's authorization | 20091012 | |||
| 5 | IT_ACTION | Call by reference | Type reference (TYPE) | GRAC_T_ACTION | Table type for Actions | 20091008 | |||
| 6 | IT_PERMISSION | Call by reference | Type reference (TYPE) | GRAC_T_PERM_FLD_VALUE | Table type for permission | 20091009 | |||
| 7 | IV_CONN_GROUP | Call by reference | Type reference (TYPE) | GRFN_CONNECTORGRP | Connector Group | 20091014 | |||
| 8 | IV_ROLE_ID | Call by reference | Type reference (TYPE) | GRFN_GUID | UUID of the GRC object (char32) | 20091029 | |||
| 9 | IV_ROLE_NAME | Call by reference | Type reference (TYPE) | GRAC_ROLE_NAME | Role Name | 20091029 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20091029 |
Method GET_VALUE_TEXT_DSEC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_VALUE_TEXT_DESC | Call by reference | Type reference (TYPE) | GRAC_VALUE_FIELD | Data Element for authorization value field | 20100716 | |||
| 2 | IS_AUTH | Call by reference | Type reference (TYPE) | GRAC_S_UI_AUTH_OBC | PFCG Authorization Entity Name | 20100716 | |||
| 3 | IT_FLDVAL | Call by reference | Type reference (TYPE) | GRAC_T_FLDVAL | Table Type for field Values | 20100716 |
Method GET_VALUE_TEXT_DSEC on class CL_GRAC_AUTH_META has no exception.
Method UPDATE_MTN_LEVEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_MTN_LEVEL | Call by reference | Type reference (TYPE) | INT4 | Natural number | 20100710 | |||
| 2 | IV_MTN_LEVEL | Call by reference | Type reference (TYPE) | CHAR1 | Single-Character Flag | 20100710 |
Method UPDATE_MTN_LEVEL on class CL_GRAC_AUTH_META has no exception.
Method UPDATE_STATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_STATE | Call by reference | Type reference (TYPE) | INT4 | Natural number | 20100710 | |||
| 2 | IT_ORG | Call by reference | Type reference (TYPE) | GRAC_T_ORGFLD_VALUE | Organization Value Table | 20100710 | |||
| 3 | IV_FIELD_NAME | Call by reference | Type reference (TYPE) | GRAC_AUTH_ENTITY_NAME | PFCG Authorization Entity Name | 20100710 | |||
| 4 | IV_VALUE | Call by reference | Type reference (TYPE) | ANY | 20100710 |
Method UPDATE_STATE on class CL_GRAC_AUTH_META has no exception.
History
| Last changed by/on | SAP | 20141106 |
| SAP Release Created in | 600 |