SAP ABAP Class CL_GRFN_UTIL_AUTH (Authorization Wrapper for Common Master Data)
Hierarchy
☛
GRCFND_A (Software Component) GRC Foundation ABAP
⤷ GRC (Application Component) Governance, Risk and Compliance
⤷ GRFN_UTILITIES (Package) Various helping infrastructure for GRC ABAP
⤷ GRC (Application Component) Governance, Risk and Compliance
⤷ GRFN_UTILITIES (Package) Various helping infrastructure for GRC ABAP
Properties
Class | CL_GRFN_UTIL_AUTH | |
Short Description | Authorization Wrapper for Common Master Data | |
Super Class | ||
Instantiability of a Class | 0 | Private |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | GRFN_UTILITIES | Various helping infrastructure for GRC ABAP |
Created | 20100610 | SAP |
Last change | 20141106 | |
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_GRFN_UTIL_AUTH has no interface implemented.
Friends
Class CL_GRFN_UTIL_AUTH has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | GC_AUTH_ACTIVITY | Constant | Public | Type reference (TYPE) | AGRFIELD | 'ACTVT' | Field name of an authorization | 20100610 | |
2 | GC_AUTH_ACTIVITY_VALUE | Constant | Public | See coding | 20100610 | ||||
3 | GC_AUTH_GRAC_MITC | Constant | Public | Type reference (TYPE) | AGOBJECT | 'GRAC_MITC' | Auth. Object in User Master Maintenance | 20100610 | |
4 | GC_AUTH_GRAC_OUNIT | Constant | Public | Type reference (TYPE) | AGOBJECT | 'GRAC_OUNIT' | Auth. Object in User Master Maintenance | 20100610 | |
5 | GC_AUTH_OUTYP | Constant | Public | Type reference (TYPE) | AGRFIELD | 'GRAC_OUTYP' | Field name of an authorization | 20100610 | |
6 | GC_AUTH_OUTYP_VALUE | Constant | Public | See coding | 20100617 | ||||
7 | MC_SKIP_DL_2ND_LEVEL | Constant | Public | Type reference (TYPE) | GRFN_AUTH_CUST_FIELD | 'SKIP_DL_2ND_LEVEL' | Skip second-level check for delegate | 20140115 | |
8 | MV_RISK_OU_AUTH_ENABLED | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20131101 | |||
9 | MV_RISK_OU_AUTH_READ | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20131101 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | AUTHORIZE_FLDGRP | Static method | Public | Method | Authorize field group | 20100707 |
2 | AUTHORIZE_FLDS | Static method | Public | Method | Authorize entity fields | 20100707 |
3 | AUTH_ALL | Static method | Public | Method | Authorize in all components | 20100610 |
4 | AUTH_ANY | Static method | Public | Method | Authorize in any component | 20100614 |
5 | AUTH_EDIT | Static method | Public | Method | Authorize edit in any component | 20100707 |
6 | AUTH_PFCG | Static method | Private | Method | Authorize PFCG | 20100610 |
7 | GET_APP_COMPS | Static method | Public | Method | Get app components according to user authorization by object | 20100610 |
8 | GET_APP_COMPS_BY_ENTITY | Static method | Public | Method | Get app components according to user authorization by entity | 20100628 |
9 | MAP_OPERATION_TO_ACTVT | Static method | Public | Method | Map operation | 20100614 |
10 | MAP_TO_AUTH_PFCG | Static method | Public | Method | Map GRC API fields to AC PFCG fields | 20100614 |
11 | RISK_AUTH_VIA_OU | Static method | Public | Method | Is authorization via OU active? | 20131101 |
Events
Class CL_GRFN_UTIL_AUTH has no event.
Types
Class CL_GRFN_UTIL_AUTH has no local type.
Method Signatures
Method AUTHORIZE_FLDGRP Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IO_SESSION | Call by reference | Object reference (TYPE REF TO) | CL_GRFN_API_SESSION | Session Management for GRC APIs | 20100707 | ||
2 | Importing | IT_APP | Call by reference | Type reference (TYPE) | GRFN_T_APP_COMPONENT | Application Components | 20100707 | ||
3 | Importing | IV_FLDGRP | Call by reference | Type reference (TYPE) | GRFN_FLDGRP | Field metadata table | 20100707 | ||
4 | Importing | IV_OBJECT_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20100707 | ||
5 | Importing | IV_OPERATION | Call by reference | Type reference (TYPE) | GRFN_API_OPERATION_ID | GRFN0_C_OPERATION-UPDATE | The ID of the operation | 20100707 | |
6 | Importing | IV_REGULATION_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20100707 | ||
7 | Returning | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20100707 |
Method AUTHORIZE_FLDGRP on class CL_GRFN_UTIL_AUTH has no exception.
Method AUTHORIZE_FLDS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IO_SESSION | Call by reference | Object reference (TYPE REF TO) | CL_GRFN_API_SESSION | Session Management for GRC APIs | 20100707 | ||
2 | Importing | IT_APP | Call by reference | Type reference (TYPE) | GRFN_T_APP_COMPONENT | Application Components | 20100707 | ||
3 | Importing | IT_FLD | Call by reference | Type reference (TYPE) | GRFN_T_FLD | Field metadata table | 20100707 | ||
4 | Importing | IV_OBJECT_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20100707 | ||
5 | Importing | IV_OPERATION | Call by reference | Type reference (TYPE) | GRFN_API_OPERATION_ID | GRFN0_C_OPERATION-UPDATE | The ID of the operation | 20100707 | |
6 | Importing | IV_REGULATION_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20100707 | ||
7 | Returning | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20100707 |
Method AUTHORIZE_FLDS on class CL_GRFN_UTIL_AUTH has no exception.
Method AUTH_ALL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IO_SESSION | Call by reference | Object reference (TYPE REF TO) | CL_GRFN_API_SESSION | Session Management for GRC APIs | 20100610 | ||
2 | Importing | IS_AUTH_PFCG | Call by reference | Type reference (TYPE) | GRFN_S_AUTH_PFCG | PFCG Authorization Parameters | 20100610 | ||
3 | Importing | IT_RELEVANT_APP | Call by reference | Type reference (TYPE) | GRFN_T_APP_COMPONENT | Application Components | 20100611 | ||
4 | Importing | IV_DATAPART | Call by reference | Type reference (TYPE) | GRFN_DATAPART | Data Part for GRC Object Types | 20100610 | ||
5 | Importing | IV_ENTITY | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20100610 | ||
6 | Importing | IV_EXT | Call by reference | Type reference (TYPE) | GRFN_EXT | Extension Object Type | 20100617 | ||
7 | Importing | IV_OBJECT | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20100610 | ||
8 | Importing | IV_OPERATION | Call by reference | Type reference (TYPE) | GRFN_API_OPERATION_ID | The ID of the operation | 20100610 | ||
9 | Importing | IV_SUBENTITY | Call by reference | Type reference (TYPE) | GRFN_SUBENTITY | Subentity | 20100610 | ||
10 | Returning | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20100610 |
Method AUTH_ALL on class CL_GRFN_UTIL_AUTH has no exception.
Method AUTH_ANY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IO_SESSION | Call by reference | Object reference (TYPE REF TO) | CL_GRFN_API_SESSION | Session Management for GRC APIs | 20100614 | ||
2 | Importing | IS_AUTH_PFCG | Call by reference | Type reference (TYPE) | GRFN_S_AUTH_PFCG | PFCG Authorization Parameters | 20100614 | ||
3 | Importing | IT_RELEVANT_APP | Call by reference | Type reference (TYPE) | GRFN_T_APP_COMPONENT | Application Components | 20100614 | ||
4 | Importing | IV_DATAPART | Call by reference | Type reference (TYPE) | GRFN_DATAPART | Data Part for GRC Object Types | 20100614 | ||
5 | Importing | IV_ENTITY | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20100614 | ||
6 | Importing | IV_EXT | Call by reference | Type reference (TYPE) | GRFN_EXT | Extension Object Type | 20100617 | ||
7 | Importing | IV_OBJECT | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20100614 | ||
8 | Importing | IV_OPERATION | Call by reference | Type reference (TYPE) | GRFN_API_OPERATION_ID | The ID of the operation | 20100614 | ||
9 | Importing | IV_SUBENTITY | Call by reference | Type reference (TYPE) | GRFN_SUBENTITY | Subentity | 20100614 | ||
10 | Returning | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20100614 |
Method AUTH_ANY on class CL_GRFN_UTIL_AUTH has no exception.
Method AUTH_EDIT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IO_SESSION | Call by reference | Object reference (TYPE REF TO) | CL_GRFN_API_SESSION | Session Management for GRC APIs | 20100707 | ||
2 | Importing | IS_AUTH_PFCG | Call by reference | Type reference (TYPE) | GRFN_S_AUTH_PFCG | PFCG Authorization Parameters | 20100707 | ||
3 | Importing | IT_RELEVANT_APP | Call by reference | Type reference (TYPE) | GRFN_T_APP_COMPONENT | Application Components | 20100707 | ||
4 | Importing | IV_DATAPART | Call by reference | Type reference (TYPE) | GRFN_DATAPART | Data Part for GRC Object Types | 20100707 | ||
5 | Importing | IV_ENTITY | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20100707 | ||
6 | Importing | IV_EXT | Call by reference | Type reference (TYPE) | GRFN_EXT | Extension Object Type | 20100707 | ||
7 | Importing | IV_OBJECT | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20100707 | ||
8 | Importing | IV_OPERATION | Call by reference | Type reference (TYPE) | GRFN_API_OPERATION_ID | IFR Proxy Operation Name | 20100707 | ||
9 | Importing | IV_SUBENTITY | Call by reference | Type reference (TYPE) | GRFN_SUBENTITY | Subentity | 20100707 | ||
10 | Returning | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20100707 |
Method AUTH_EDIT on class CL_GRFN_UTIL_AUTH has no exception.
Method AUTH_PFCG Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IO_SESSION | Call by reference | Object reference (TYPE REF TO) | CL_GRFN_API_SESSION | Session Management for GRC APIs | 20100610 | ||
2 | Importing | IS_AUTH_PFCG | Call by reference | Type reference (TYPE) | GRFN_S_AUTH_PFCG | PFCG Authorization Parameters | 20100610 | ||
3 | Returning | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20100610 |
Method AUTH_PFCG on class CL_GRFN_UTIL_AUTH has no exception.
Method GET_APP_COMPS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IO_SESSION | Call by reference | Object reference (TYPE REF TO) | CL_GRFN_API_SESSION | Session Management for GRC APIs | 20100610 | ||
2 | Importing | IV_ENTITY_ID | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20100610 | ||
3 | Importing | IV_OBJECT_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20100610 | ||
4 | Returning | RT_APP_COMPS | Value transfer | Type reference (TYPE) | GRFN_T_APP_COMPONENT | Application Components | 20100610 |
Method GET_APP_COMPS on class CL_GRFN_UTIL_AUTH has no exception.
Method GET_APP_COMPS_BY_ENTITY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IO_SESSION | Call by reference | Object reference (TYPE REF TO) | CL_GRFN_API_SESSION | Session Management for GRC APIs | 20100628 | ||
2 | Importing | IV_ENTITY | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20100628 | ||
3 | Returning | RT_APP_COMPS | Value transfer | Type reference (TYPE) | GRFN_T_APP_COMPONENT | Application Components | 20100628 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_GRFN_EXCEPTION | Generic GRC API exception | 20100707 |
Method MAP_OPERATION_TO_ACTVT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_OPERATION | Call by reference | Type reference (TYPE) | GRFN_API_OPERATION_ID | The ID of the operation | 20100614 | ||
2 | Returning | RV_ACTVT | Value transfer | Type reference (TYPE) | AGVAL | Authorization value | 20100614 |
Method MAP_OPERATION_TO_ACTVT on class CL_GRFN_UTIL_AUTH has no exception.
Method MAP_TO_AUTH_PFCG Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ES_AUTH_PFCG | Call by reference | Type reference (TYPE) | GRFN_S_AUTH_PFCG | PFCG Authorization Parameters | 20100614 | ||
2 | Importing | IO_SESSION | Call by reference | Object reference (TYPE REF TO) | CL_GRFN_API_SESSION | Session Management for GRC APIs | 20100708 | ||
3 | Importing | IV_DATAPART | Call by reference | Type reference (TYPE) | GRFN_DATAPART | Data Part for GRC Object Types | 20100614 | ||
4 | Importing | IV_ENTITY | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity ID | 20100614 | ||
5 | Importing | IV_EXT | Call by reference | Type reference (TYPE) | GRFN_EXT | Extension Object Type | 20100617 | ||
6 | Importing | IV_OBJECT | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20100614 | ||
7 | Importing | IV_OPERATION | Call by reference | Type reference (TYPE) | GRFN_API_OPERATION_ID | The ID of the operation | 20100614 | ||
8 | Importing | IV_SUBENTITY | Call by reference | Type reference (TYPE) | GRFN_SUBENTITY | Subentity | 20100614 |
Method MAP_TO_AUTH_PFCG on class CL_GRFN_UTIL_AUTH has no exception.
Method RISK_AUTH_VIA_OU Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RV_ENABLED | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20131101 |
Method RISK_AUTH_VIA_OU on class CL_GRFN_UTIL_AUTH has no exception.
History
Last changed by/on | SAP | 20141106 |
SAP Release Created in | 600 |