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 GS_LDAP_STATE Static Attribute Protected Type reference (TYPE) SEFS_S_LDAP_STATE Current state of LDAP server 20070417
2 GV_MSG_TXT 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 CONVERT_AD_SID_BLOCK_TO_EXT Static method Public Method Convert a SID block to external representation 20070402
2 CONVERT_AD_SID_TO_EXT Static method Public Method Convert MS Active Directory SID to external representation 20070402
3 CONVERT_AD_SID_TO_EXT_TEST Static method Public Method Testframe for CONVERT_AD_SID_TO_EXT 20070406
4 CONVERT_HEX_TO_INTEGER Static method Public Method Convert 1 digit from a hexadecimal representation to integer 20070402
5 GET_DN_FOR_PRIMARYGROUPID Static method Public Method Get Distinguished Name for a primaryGroupID 20081106
6 GET_GROUP_SECURITY Static method Public Method Extract the hexadecimal security value from a group type 20070504
7 GET_SID_LIST_FOR_GROUPS Static method Public Method Get SID list for group array, from buffer or MS Active Dir. 20070417
8 GET_SID_LIST_FOR_USER Static method Public Method Get SID list for SY-UNAME, from buffer or MS Active Dir. 20070417
9 LDAP_SYSTEMBIND Static method Public Method Comfort shell around function module LDAP_SYSTEMBIND 20070417
10 LDAP_UNBIND Static method Public Method Comfort shell around function module LDAP_UNBIND 20070417
11 RESOLVE_AD_USERGROUP 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 Importing 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 Returning 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 CX_SEFS_SEARCH_ERROR 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 Exporting EV_SID_EXT Call by reference Type reference (TYPE) CLIKE MS Active Directory SID in external representation 20070402
2 Importing 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 CX_SEFS_SEARCH_ERROR 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 Exporting EV_SID_EXT Call by reference Type reference (TYPE) SEFS_D_AD_SID_EXT MS Active Directory SID in external representation 20070406
2 Importing 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 CX_SEFS_SEARCH_ERROR 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 Importing IV_HEX Call by reference Type reference (TYPE) SEFS_D_HEX_DIGIT 1 digit from a readable hexadecimal representation 20070402
2 Returning RV_INTEGER Value transfer Type reference (TYPE) INT4 Equivalent value in integer format 20070402
# Exception Resumable Description Created on
1 CX_SEFS_SEARCH_ERROR 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 Exporting ES_USERGROUP_DN Call by reference Type reference (TYPE) SEFS_D_LDAP_USERGROUP Destinguished Name (DN) of a usergroup in LDAP 20081106
2 Importing IV_DOMAIN_NAME Call by reference Type reference (TYPE) SEFS_D_LDAP_DOMAIN_NAME Name of an LDAP domain 20081106
3 Importing IV_LDAP_SERVER Call by reference Type reference (TYPE) SEFS_D_LDAP_SERVER Symbolic name of LDAP server 20081106
4 Importing IV_PRIMARYGROUPID Call by reference Type reference (TYPE) CHAR16 primaryGroupID 20081106
# Exception Resumable Description Created on
1 CX_SEFS_SEARCH_ERROR File Search Errors 20081110

Method GET_GROUP_SECURITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_GROUP_TYPE Call by reference Type reference (TYPE) STRING MS Active Directory group type as hexadecimal string 20070504
2 Returning 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 Exporting ET_SID_LISTS Call by reference Type reference (TYPE) SEFS_T_SID_LIST_WITH_DOMAIN List of SIDs per LDAP domain 20070417
2 Importing IT_USERGROUPS Call by reference Type reference (TYPE) SEFS_T_USERGROUP_WITH_DOMAIN Destinguished Names (DN) of usergroups with LDAP domains 20070417
3 Importing 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 CX_SEFS_SEARCH_ERROR 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 Exporting ET_SID_LISTS Call by reference Type reference (TYPE) SEFS_T_SID_LIST_WITH_DOMAIN List of SIDs per LDAP domain 20070417
2 Exporting EV_UPDATE_SUCCESS Call by reference Type reference (TYPE) BOOLE_D X = User buffer has been updated successfully 20070425
3 Importing IV_ENFORCE_BUFFER_UPDATE Call by reference Type reference (TYPE) BOOLE_D ' ' X = Enforce LDAP read and buffer update. No timestamp check 20070418
4 Importing IV_LDAP_UNBIND Call by reference Type reference (TYPE) BOOLE_D 'X' X = Close LDAP connection at return 20070417
5 Importing IV_UNAME Call by reference Type reference (TYPE) XUBNAME SY-UNAME User Name in User Master Record 20070419
# Exception Resumable Description Created on
1 CX_SEFS_SEARCH_ERROR File Search Errors 20070417

Method LDAP_SYSTEMBIND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing 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 CX_SEFS_SEARCH_ERROR 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 CX_SEFS_SEARCH_ERROR File Search Errors 20070417

Method RESOLVE_AD_USERGROUP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ERROR_MESSAGES Call by reference Type reference (TYPE) SEFS_T_LDAP_USERGROUP_MESSAGE Usergroups in LDAP with messages 20070501
2 Exporting ET_USERGROUP_DATA Call by reference Type reference (TYPE) SEFS_T_LDAP_USERGROUP_DATA Table of usergroup data in LDAP 20070405
3 Exporting EV_UPDATE_SUCCESS Call by reference Type reference (TYPE) BOOLE_D X = Usergroup buffer has been updated successfully 20070426
4 Importing IS_USERGROUP Call by reference Type reference (TYPE) SEFS_S_USERGROUP_WITH_DOMAIN Destinguished Name (DN) of a usergroup with LDAP domain 20070423
5 Importing IV_LDAP_UNBIND Call by reference Type reference (TYPE) BOOLE_D 'X' X = Close LDAP connection at return 20070424
6 Importing 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 CX_SEFS_SEARCH_ERROR File Search Errors 20070405
History
Last changed by/on SAP  20110908 
SAP Release Created in 710