SAP ABAP Class CL_GRAC_AD_CONTEXT (Perform various operation on LDAP systems)
Hierarchy
GRCFND_A (Software Component) GRC Foundation ABAP
   GRC-AC (Application Component) Access Control
     GRAC_ADAPTORS (Package) Access Control GRC Calls for Plag-in's and WSDL
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_GRAC_DS_TYPES Types used in IDM services 20100408
Properties
Class CL_GRAC_AD_CONTEXT  
Short Description Perform various operation on LDAP systems    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package GRAC_ADAPTORS   Access Control GRC Calls for Plag-in's and WSDL 
Created 20100408   SAP 
Last change 20141106    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_GRAC_AD_CONTEXT has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_GRAC_DS_TYPES Types used in IDM services 20100408
Friends
Class CL_GRAC_AD_CONTEXT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 LV_USER_PATH Instance attribute Private Type reference (TYPE) LDAPDEFS-BASE Base directory tree entry 20100615
Methods
# Method Level Visibility Method type Description Created on
1 GET_USER_PATH Instance method Public Method get the user path for a connector 20100615
2 SET_GROUP_PATH Instance method Public Method Set the Group Path for LDAP System 20131127
3 SET_USER_PATH Instance method Public Method set the user path for a connector 20100615
4 SYSTEM_LDAP_ASSIGN_GROUPS Instance method Public Method Update data on Target LDAP System 20100408
5 SYSTEM_LDAP_BIND Instance method Public Method binding to LDAP system 20100408
6 SYSTEM_LDAP_BIND_AND_PARK Instance method Public Method binding to LDAP system 20100408
7 SYSTEM_LDAP_CHECKIN_CONN Instance method Public Method Return an old connection 20100408
8 SYSTEM_LDAP_CHECKOUT_CONN Instance method Public Method Park an existing LDAP connection 20100408
9 SYSTEM_LDAP_CREATE Instance method Public Method create object in ldap system 20100622
10 SYSTEM_LDAP_READ Instance method Public Method Read data from target LDAP System 20100408
11 SYSTEM_LDAP_SEARCH Instance method Public Method Read data from target LDAP System 20100408
12 SYSTEM_LDAP_UNBIND Instance method Public Method Unbind the target LDAP System 20100408
13 SYSTEM_LDAP_UPDATE Instance method Public Method Update data on Target LDAP System 20100408
Events
Class CL_GRAC_AD_CONTEXT has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 YLDAPQUERY Public Attribute reference (LIKE) 20100408
2 YLDAP_READWRITE Public Attribute reference (LIKE) 20100408
3 YLDAP_RETATTR Public Attribute reference (LIKE) 20100408
4 YLDAP_UNBIND_REQ Public Attribute reference (LIKE) 20100408
5 YSYSTEM_NAME Public Attribute reference (LIKE) 20100408
6 YS_STATUS_MSG Public Attribute reference (LIKE) 20100408
Method Signatures

Method GET_USER_PATH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_USER_PATH Call by reference Type reference (TYPE) LDAPDEFS-BASE Base directory tree entry 20100615

Method GET_USER_PATH on class CL_GRAC_AD_CONTEXT has no exception.

Method SET_GROUP_PATH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_GROUP_PATH Call by reference Type reference (TYPE) LDAPDEFS-BASE Base directory tree entry 20131127
2 Importing IV_CONNECTOR_ID Call by reference Type reference (TYPE) STRING 20131127

Method SET_GROUP_PATH on class CL_GRAC_AD_CONTEXT has no exception.

Method SET_USER_PATH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_USER_PATH Call by reference Type reference (TYPE) LDAPDEFS-BASE Base directory tree entry 20100615
2 Importing IV_CONNECTOR_ID Call by reference Type reference (TYPE) STRING 20100615

Method SET_USER_PATH on class CL_GRAC_AD_CONTEXT has no exception.

Method SYSTEM_LDAP_ASSIGN_GROUPS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_STATUS_MSG Call by reference Type reference (TYPE) YS_STATUS_MSG 20100408
2 Exporting EV_BIND_STATUS Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100408
3 Exporting EV_CONN_KEY Call by reference Type reference (TYPE) LDAPDEFS-CKEY Connection key 20100408
4 Exporting EV_LDAP_RC Call by reference Type reference (TYPE) LDAPDEFS-LDRC Return code 20100408
5 Exporting EX_LDAPRC Call by reference Type reference (TYPE) LDAPDEFS-LDRC Return code 20100408
6 Importing IV_CONN_KEY Call by reference Type reference (TYPE) LDAPDEFS-CKEY Natural number 20100408
7 Importing IV_ENTRY Call by reference Type reference (TYPE) LDAPE DN and Attributes with Values 20100408
8 Importing IV_LDAP_CONNECTOR_ID Call by reference Type reference (TYPE) YSYSTEM_NAME 20100408
9 Importing IV_LDAP_RW Call by reference Type reference (TYPE) YLDAP_READWRITE 'W' 20100408
10 Importing IV_UNBIND_REQ Call by reference Type reference (TYPE) YLDAP_UNBIND_REQ 'Y' 20100408
# Exception Resumable Description Created on
1 CX_GRAC_IDM_EXCEPTION Static Checked Exception To be Handled by Calling Services 20100408

Method SYSTEM_LDAP_BIND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_BASEDN_STRING Call by reference Type reference (TYPE) LDAP_DNS Return base dn string 20100719
2 Exporting EV_BASE_DN Call by reference Type reference (TYPE) LDAPDEFS-DN Return base dn 20100719
3 Exporting EV_BINDSTATUS Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100408
4 Exporting EV_LDAPRC Call by reference Type reference (TYPE) LDAPDEFS-LDRC Return code 20100408
5 Importing IV_SYSTEM_NAME Call by reference Type reference (TYPE) YSYSTEM_NAME ldap system name 20100408
6 Importing IV_SYSTEM_RW Call by reference Type reference (TYPE) YLDAP_READWRITE 'R' Read or Write which Operation is required 20100408

Method SYSTEM_LDAP_BIND on class CL_GRAC_AD_CONTEXT has no exception.

Method SYSTEM_LDAP_BIND_AND_PARK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_STATUS_MSG Call by reference Type reference (TYPE) YS_STATUS_MSG return status message 20100408
2 Exporting EV_BINDSTATUS Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100408
3 Exporting EV_CKEY Call by reference Type reference (TYPE) LDAPDEFS-CKEY Connection key 20100408
4 Importing IV_SYSTEM_NAME Call by reference Type reference (TYPE) YSYSTEM_NAME ldap system name 20100408
5 Importing IV_SYSTEM_RW Call by reference Type reference (TYPE) YLDAP_READWRITE 'R' Read or Write which Operation is required 20100408

Method SYSTEM_LDAP_BIND_AND_PARK on class CL_GRAC_AD_CONTEXT has no exception.

Method SYSTEM_LDAP_CHECKIN_CONN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CKEY Value transfer Type reference (TYPE) LDAPDEFS-CKEY Connection key 20100408
# Exception Resumable Description Created on
1 UNKNOWN_KEY Unknow Key 20100408

Method SYSTEM_LDAP_CHECKOUT_CONN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_CKEY Call by reference Type reference (TYPE) LDAPDEFS-CKEY Connection key 20100408

Method SYSTEM_LDAP_CHECKOUT_CONN on class CL_GRAC_AD_CONTEXT has no exception.

Method SYSTEM_LDAP_CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_RETURN Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20100622
2 Importing IV_ATTRIBUTES Call by reference Type reference (TYPE) HYBRASTAB Table with Structure Names, Field Names and Types 20100622
3 Importing IV_DATA Call by reference Type reference (TYPE) HYBRALTAB Table with Structure Names, Field Names + Types with Values 20100622
4 Importing IV_OBJECTTYPE Call by reference Type reference (TYPE) LDAPSERVER-APPL LDAP Application 20100622
5 Importing IV_SERVERID Call by reference Type reference (TYPE) LDAPSERVER-SERVERID Symbolic name of LDAP server 20100622

Method SYSTEM_LDAP_CREATE on class CL_GRAC_AD_CONTEXT has no exception.

Method SYSTEM_LDAP_READ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ENTRIES Call by reference Type reference (TYPE) LDAPETAB Table with DNs, Attributes, and Values for Several Objects 20100408
2 Exporting EV_READSTATUS Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100408
3 Importing IT_RETATTR Call by reference Type reference (TYPE) YLDAP_RETATTR specifies returning attributes 20100408
4 Importing IV_BASE Call by reference Type reference (TYPE) LDAPDEFS-BASE Base directory tree entry 20100615
5 Importing IV_FILTERSTRING Call by reference Type reference (TYPE) YLDAPQUERY represent query string 20100408

Method SYSTEM_LDAP_READ on class CL_GRAC_AD_CONTEXT has no exception.

Method SYSTEM_LDAP_SEARCH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_STATUS_MSG Call by reference Type reference (TYPE) YS_STATUS_MSG Returns error message 20100408
2 Exporting EV_BIND_STATUS Call by reference Type reference (TYPE) BOOLEAN Return Connection Status with LDAP Server 20100408
3 Exporting EV_CONN_KEY Call by reference Type reference (TYPE) LDAPDEFS-CKEY Connection key 20100408
4 Exporting EV_ENTRIES Call by reference Type reference (TYPE) LDAPETAB Table with DNs, Attributes, and Values for Several Objects 20100408
5 Exporting EV_LDAP_RC Call by reference Type reference (TYPE) LDAPDEFS-LDRC Return code 20100408
6 Importing IT_RETATTR Call by reference Type reference (TYPE) YLDAP_RETATTR specifies returning attributes 20100408
7 Importing IV_CONN_KEY Call by reference Type reference (TYPE) INT4 Connection key 20100408
8 Importing IV_FILTERSTRING Call by reference Type reference (TYPE) YLDAPQUERY represent query string 20100408
9 Importing IV_LDAP_CONNECTOR_ID Call by reference Type reference (TYPE) YSYSTEM_NAME 20100408
10 Importing IV_LDAP_RW Call by reference Type reference (TYPE) YLDAP_READWRITE 'R' 20100408
11 Importing IV_UNBIND_REQ Call by reference Type reference (TYPE) YLDAP_UNBIND_REQ 'Y' Boolean Variable (X=True, -=False, Space=Unknown) 20100408

Method SYSTEM_LDAP_SEARCH on class CL_GRAC_AD_CONTEXT has no exception.

Method SYSTEM_LDAP_UNBIND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_UNBINDSTATUS Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100408

Method SYSTEM_LDAP_UNBIND on class CL_GRAC_AD_CONTEXT has no exception.

Method SYSTEM_LDAP_UPDATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_LDAPRC Call by reference Type reference (TYPE) LDAPDEFS-LDRC Return code 20100408
2 Importing IV_ENTRY Call by reference Type reference (TYPE) LDAPE DN and Attributes with Values 20100408

Method SYSTEM_LDAP_UPDATE on class CL_GRAC_AD_CONTEXT has no exception.
History
Last changed by/on SAP  20141106 
SAP Release Created in 600