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 | Instance attribute | Private | Type reference (TYPE) | LDAPDEFS-BASE | Base directory tree entry | 20100615 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | get the user path for a connector | 20100615 | |
| 2 | Instance method | Public | Method | Set the Group Path for LDAP System | 20131127 | |
| 3 | Instance method | Public | Method | set the user path for a connector | 20100615 | |
| 4 | Instance method | Public | Method | Update data on Target LDAP System | 20100408 | |
| 5 | Instance method | Public | Method | binding to LDAP system | 20100408 | |
| 6 | Instance method | Public | Method | binding to LDAP system | 20100408 | |
| 7 | Instance method | Public | Method | Return an old connection | 20100408 | |
| 8 | Instance method | Public | Method | Park an existing LDAP connection | 20100408 | |
| 9 | Instance method | Public | Method | create object in ldap system | 20100622 | |
| 10 | Instance method | Public | Method | Read data from target LDAP System | 20100408 | |
| 11 | Instance method | Public | Method | Read data from target LDAP System | 20100408 | |
| 12 | Instance method | Public | Method | Unbind the target LDAP System | 20100408 | |
| 13 | 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 | 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 | EV_GROUP_PATH | Call by reference | Type reference (TYPE) | LDAPDEFS-BASE | Base directory tree entry | 20131127 | |||
| 2 | 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 | EV_USER_PATH | Call by reference | Type reference (TYPE) | LDAPDEFS-BASE | Base directory tree entry | 20100615 | |||
| 2 | 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 | ES_STATUS_MSG | Call by reference | Type reference (TYPE) | YS_STATUS_MSG | 20100408 | ||||
| 2 | EV_BIND_STATUS | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100408 | |||
| 3 | EV_CONN_KEY | Call by reference | Type reference (TYPE) | LDAPDEFS-CKEY | Connection key | 20100408 | |||
| 4 | EV_LDAP_RC | Call by reference | Type reference (TYPE) | LDAPDEFS-LDRC | Return code | 20100408 | |||
| 5 | EX_LDAPRC | Call by reference | Type reference (TYPE) | LDAPDEFS-LDRC | Return code | 20100408 | |||
| 6 | IV_CONN_KEY | Call by reference | Type reference (TYPE) | LDAPDEFS-CKEY | Natural number | 20100408 | |||
| 7 | IV_ENTRY | Call by reference | Type reference (TYPE) | LDAPE | DN and Attributes with Values | 20100408 | |||
| 8 | IV_LDAP_CONNECTOR_ID | Call by reference | Type reference (TYPE) | YSYSTEM_NAME | 20100408 | ||||
| 9 | IV_LDAP_RW | Call by reference | Type reference (TYPE) | YLDAP_READWRITE | 'W' | 20100408 | |||
| 10 | IV_UNBIND_REQ | Call by reference | Type reference (TYPE) | YLDAP_UNBIND_REQ | 'Y' | 20100408 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | EV_BASEDN_STRING | Call by reference | Type reference (TYPE) | LDAP_DNS | Return base dn string | 20100719 | |||
| 2 | EV_BASE_DN | Call by reference | Type reference (TYPE) | LDAPDEFS-DN | Return base dn | 20100719 | |||
| 3 | EV_BINDSTATUS | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100408 | |||
| 4 | EV_LDAPRC | Call by reference | Type reference (TYPE) | LDAPDEFS-LDRC | Return code | 20100408 | |||
| 5 | IV_SYSTEM_NAME | Call by reference | Type reference (TYPE) | YSYSTEM_NAME | ldap system name | 20100408 | |||
| 6 | 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 | ES_STATUS_MSG | Call by reference | Type reference (TYPE) | YS_STATUS_MSG | return status message | 20100408 | |||
| 2 | EV_BINDSTATUS | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100408 | |||
| 3 | EV_CKEY | Call by reference | Type reference (TYPE) | LDAPDEFS-CKEY | Connection key | 20100408 | |||
| 4 | IV_SYSTEM_NAME | Call by reference | Type reference (TYPE) | YSYSTEM_NAME | ldap system name | 20100408 | |||
| 5 | 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 | IV_CKEY | Value transfer | Type reference (TYPE) | LDAPDEFS-CKEY | Connection key | 20100408 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unknow Key | 20100408 |
Method SYSTEM_LDAP_CHECKOUT_CONN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | EV_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20100622 | |||
| 2 | IV_ATTRIBUTES | Call by reference | Type reference (TYPE) | HYBRASTAB | Table with Structure Names, Field Names and Types | 20100622 | |||
| 3 | IV_DATA | Call by reference | Type reference (TYPE) | HYBRALTAB | Table with Structure Names, Field Names + Types with Values | 20100622 | |||
| 4 | IV_OBJECTTYPE | Call by reference | Type reference (TYPE) | LDAPSERVER-APPL | LDAP Application | 20100622 | |||
| 5 | 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 | EV_ENTRIES | Call by reference | Type reference (TYPE) | LDAPETAB | Table with DNs, Attributes, and Values for Several Objects | 20100408 | |||
| 2 | EV_READSTATUS | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100408 | |||
| 3 | IT_RETATTR | Call by reference | Type reference (TYPE) | YLDAP_RETATTR | specifies returning attributes | 20100408 | |||
| 4 | IV_BASE | Call by reference | Type reference (TYPE) | LDAPDEFS-BASE | Base directory tree entry | 20100615 | |||
| 5 | 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 | ES_STATUS_MSG | Call by reference | Type reference (TYPE) | YS_STATUS_MSG | Returns error message | 20100408 | |||
| 2 | EV_BIND_STATUS | Call by reference | Type reference (TYPE) | BOOLEAN | Return Connection Status with LDAP Server | 20100408 | |||
| 3 | EV_CONN_KEY | Call by reference | Type reference (TYPE) | LDAPDEFS-CKEY | Connection key | 20100408 | |||
| 4 | EV_ENTRIES | Call by reference | Type reference (TYPE) | LDAPETAB | Table with DNs, Attributes, and Values for Several Objects | 20100408 | |||
| 5 | EV_LDAP_RC | Call by reference | Type reference (TYPE) | LDAPDEFS-LDRC | Return code | 20100408 | |||
| 6 | IT_RETATTR | Call by reference | Type reference (TYPE) | YLDAP_RETATTR | specifies returning attributes | 20100408 | |||
| 7 | IV_CONN_KEY | Call by reference | Type reference (TYPE) | INT4 | Connection key | 20100408 | |||
| 8 | IV_FILTERSTRING | Call by reference | Type reference (TYPE) | YLDAPQUERY | represent query string | 20100408 | |||
| 9 | IV_LDAP_CONNECTOR_ID | Call by reference | Type reference (TYPE) | YSYSTEM_NAME | 20100408 | ||||
| 10 | IV_LDAP_RW | Call by reference | Type reference (TYPE) | YLDAP_READWRITE | 'R' | 20100408 | |||
| 11 | 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 | 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 | EX_LDAPRC | Call by reference | Type reference (TYPE) | LDAPDEFS-LDRC | Return code | 20100408 | |||
| 2 | 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 |