SAP ABAP Class CL_SEFS_SECURITY (Security)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-TRX-EFS (Application Component) TREX Enterprise File Search
⤷
SEFS_SEARCH (Package) Search Files
⤷
⤷
Properties
| Class | CL_SEFS_SECURITY | |
| Short Description | Security | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SEFS_SEARCH | Search Files |
| Created | 20070402 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_SEFS_SECURITY has no forward declaration.
Interfaces
Class CL_SEFS_SECURITY has no interface implemented.
Friends
Class CL_SEFS_SECURITY has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Protected | Type reference (TYPE) | SEFS_S_LDAP_STATE | Current state of LDAP server | 20070417 | |||
| 2 | Static Attribute | Private | Type reference (TYPE) | STRING | Message text (only for message ... into GV_MSG_TXT) | 20070402 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Convert a SID block to external representation | 20070402 | |
| 2 | Static method | Public | Method | Convert MS Active Directory SID to external representation | 20070402 | |
| 3 | Static method | Public | Method | Testframe for CONVERT_AD_SID_TO_EXT | 20070406 | |
| 4 | Static method | Public | Method | Convert 1 digit from a hexadecimal representation to integer | 20070402 | |
| 5 | Static method | Public | Method | Get Distinguished Name for a primaryGroupID | 20081106 | |
| 6 | Static method | Public | Method | Extract the hexadecimal security value from a group type | 20070504 | |
| 7 | Static method | Public | Method | Get SID list for group array, from buffer or MS Active Dir. | 20070417 | |
| 8 | Static method | Public | Method | Get SID list for SY-UNAME, from buffer or MS Active Dir. | 20070417 | |
| 9 | Static method | Public | Method | Comfort shell around function module LDAP_SYSTEMBIND | 20070417 | |
| 10 | Static method | Public | Method | Comfort shell around function module LDAP_UNBIND | 20070417 | |
| 11 | Static method | Public | Method | Resolve 1 usergroup by accessing MS Active Directory | 20070405 |
Events
Class CL_SEFS_SECURITY has no event.
Types
Class CL_SEFS_SECURITY has no local type.
Method Signatures
Method CONVERT_AD_SID_BLOCK_TO_EXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_SID_BLOCK_HEX_R | Call by reference | Type reference (TYPE) | SEFS_D_AD_SID_BLOCK_HEX_R | MS Active Directory SID block in readable hex representation | 20070402 | |||
| 2 | RV_SID_BLOCK_EXT | Value transfer | Type reference (TYPE) | SEFS_D_AD_SID_BLOCK_EXT | MS Active Directory SID block in external representation | 20070402 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | File Search Errors | 20070402 |
Method CONVERT_AD_SID_TO_EXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_SID_EXT | Call by reference | Type reference (TYPE) | CLIKE | MS Active Directory SID in external representation | 20070402 | |||
| 2 | IV_SID_HEX_READABLE | Call by reference | Type reference (TYPE) | CLIKE | MS Active Directory SID in readable hex representation | 20070402 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | File Search Errors | 20070402 |
Method CONVERT_AD_SID_TO_EXT_TEST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_SID_EXT | Call by reference | Type reference (TYPE) | SEFS_D_AD_SID_EXT | MS Active Directory SID in external representation | 20070406 | |||
| 2 | IV_SID_HEX_READABLE | Call by reference | Type reference (TYPE) | SEFS_D_AD_SID_HEX_READABLE | MS Active Directory SID in readable hex representation | 20070406 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | File Search Errors | 20070406 |
Method CONVERT_HEX_TO_INTEGER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_HEX | Call by reference | Type reference (TYPE) | SEFS_D_HEX_DIGIT | 1 digit from a readable hexadecimal representation | 20070402 | |||
| 2 | RV_INTEGER | Value transfer | Type reference (TYPE) | INT4 | Equivalent value in integer format | 20070402 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | File Search Errors | 20070402 |
Method GET_DN_FOR_PRIMARYGROUPID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_USERGROUP_DN | Call by reference | Type reference (TYPE) | SEFS_D_LDAP_USERGROUP | Destinguished Name (DN) of a usergroup in LDAP | 20081106 | |||
| 2 | IV_DOMAIN_NAME | Call by reference | Type reference (TYPE) | SEFS_D_LDAP_DOMAIN_NAME | Name of an LDAP domain | 20081106 | |||
| 3 | IV_LDAP_SERVER | Call by reference | Type reference (TYPE) | SEFS_D_LDAP_SERVER | Symbolic name of LDAP server | 20081106 | |||
| 4 | IV_PRIMARYGROUPID | Call by reference | Type reference (TYPE) | CHAR16 | primaryGroupID | 20081106 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | File Search Errors | 20081110 |
Method GET_GROUP_SECURITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_GROUP_TYPE | Call by reference | Type reference (TYPE) | STRING | MS Active Directory group type as hexadecimal string | 20070504 | |||
| 2 | RV_SECURITY_HEX | Value transfer | Type reference (TYPE) | SEFS_D_HEX_DIGIT | Hexadecimal security value (8 = security enabled) | 20070504 |
Method GET_GROUP_SECURITY on class CL_SEFS_SECURITY has no exception.
Method GET_SID_LIST_FOR_GROUPS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_SID_LISTS | Call by reference | Type reference (TYPE) | SEFS_T_SID_LIST_WITH_DOMAIN | List of SIDs per LDAP domain | 20070417 | |||
| 2 | IT_USERGROUPS | Call by reference | Type reference (TYPE) | SEFS_T_USERGROUP_WITH_DOMAIN | Destinguished Names (DN) of usergroups with LDAP domains | 20070417 | |||
| 3 | IV_LDAP_UNBIND | Call by reference | Type reference (TYPE) | BOOLE_D | 'X' | X = Close LDAP connection at return | 20070424 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | File Search Errors | 20070417 |
Method GET_SID_LIST_FOR_USER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_SID_LISTS | Call by reference | Type reference (TYPE) | SEFS_T_SID_LIST_WITH_DOMAIN | List of SIDs per LDAP domain | 20070417 | |||
| 2 | EV_UPDATE_SUCCESS | Call by reference | Type reference (TYPE) | BOOLE_D | X = User buffer has been updated successfully | 20070425 | |||
| 3 | IV_ENFORCE_BUFFER_UPDATE | Call by reference | Type reference (TYPE) | BOOLE_D | ' ' | X = Enforce LDAP read and buffer update. No timestamp check | 20070418 | ||
| 4 | IV_LDAP_UNBIND | Call by reference | Type reference (TYPE) | BOOLE_D | 'X' | X = Close LDAP connection at return | 20070417 | ||
| 5 | IV_UNAME | Call by reference | Type reference (TYPE) | XUBNAME | SY-UNAME | User Name in User Master Record | 20070419 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | File Search Errors | 20070417 |
Method LDAP_SYSTEMBIND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_LDAP_SERVER | Call by reference | Type reference (TYPE) | SEFS_D_LDAP_SERVER | Symbolic name of LDAP server | 20070417 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | File Search Errors | 20070417 |
Method LDAP_UNBIND Signature
Method LDAP_UNBIND on class CL_SEFS_SECURITY has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | File Search Errors | 20070417 |
Method RESOLVE_AD_USERGROUP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ERROR_MESSAGES | Call by reference | Type reference (TYPE) | SEFS_T_LDAP_USERGROUP_MESSAGE | Usergroups in LDAP with messages | 20070501 | |||
| 2 | ET_USERGROUP_DATA | Call by reference | Type reference (TYPE) | SEFS_T_LDAP_USERGROUP_DATA | Table of usergroup data in LDAP | 20070405 | |||
| 3 | EV_UPDATE_SUCCESS | Call by reference | Type reference (TYPE) | BOOLE_D | X = Usergroup buffer has been updated successfully | 20070426 | |||
| 4 | IS_USERGROUP | Call by reference | Type reference (TYPE) | SEFS_S_USERGROUP_WITH_DOMAIN | Destinguished Name (DN) of a usergroup with LDAP domain | 20070423 | |||
| 5 | IV_LDAP_UNBIND | Call by reference | Type reference (TYPE) | BOOLE_D | 'X' | X = Close LDAP connection at return | 20070424 | ||
| 6 | IV_UPDATE_BUFFER | Call by reference | Type reference (TYPE) | BOOLE_D | ' ' | X = Update buffer table SEFS_LDAP_GROUP | 20070423 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | File Search Errors | 20070405 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 710 |