16: ** Pre-Reqs :
17: ** Parameters :
18: ** p_operation pls_integer Indicates the operation who permission
19: ** is to be determined. It could take
20: ** values such as fnd_ldap_wrapper.G_CREATE,
21: ** fnd_ldap_wrapper.G_UPDATE,
22: ** fnd_ldap_wrapper.G_DELETE.
23: ** x_fnd_user Always returns fnd_ldap_wrapper.SUCCESS
24: ** since FND operations are always allowed.
17: ** Parameters :
18: ** p_operation pls_integer Indicates the operation who permission
19: ** is to be determined. It could take
20: ** values such as fnd_ldap_wrapper.G_CREATE,
21: ** fnd_ldap_wrapper.G_UPDATE,
22: ** fnd_ldap_wrapper.G_DELETE.
23: ** x_fnd_user Always returns fnd_ldap_wrapper.SUCCESS
24: ** since FND operations are always allowed.
25: ** x_oid Returns fnd_ldap_wrapper.SUCCESS if the
18: ** p_operation pls_integer Indicates the operation who permission
19: ** is to be determined. It could take
20: ** values such as fnd_ldap_wrapper.G_CREATE,
21: ** fnd_ldap_wrapper.G_UPDATE,
22: ** fnd_ldap_wrapper.G_DELETE.
23: ** x_fnd_user Always returns fnd_ldap_wrapper.SUCCESS
24: ** since FND operations are always allowed.
25: ** x_oid Returns fnd_ldap_wrapper.SUCCESS if the
26: ** provisioning profile permits apps to perform
19: ** is to be determined. It could take
20: ** values such as fnd_ldap_wrapper.G_CREATE,
21: ** fnd_ldap_wrapper.G_UPDATE,
22: ** fnd_ldap_wrapper.G_DELETE.
23: ** x_fnd_user Always returns fnd_ldap_wrapper.SUCCESS
24: ** since FND operations are always allowed.
25: ** x_oid Returns fnd_ldap_wrapper.SUCCESS if the
26: ** provisioning profile permits apps to perform
27: ** the operation at hand in OID.
21: ** fnd_ldap_wrapper.G_UPDATE,
22: ** fnd_ldap_wrapper.G_DELETE.
23: ** x_fnd_user Always returns fnd_ldap_wrapper.SUCCESS
24: ** since FND operations are always allowed.
25: ** x_oid Returns fnd_ldap_wrapper.SUCCESS if the
26: ** provisioning profile permits apps to perform
27: ** the operation at hand in OID.
28: ** p_user_name Used for custom DIT.
29: ** If not null fnd_oid_plug.getRealmDN(p_user_name) will be used as realm.
48: ** Pre-Reqs :
49: ** Parameters :
50: ** p_operation pls_integer Indicates the operation who permission
51: ** is to be determined. It could take
52: ** values such as fnd_ldap_wrapper.G_CREATE,
53: ** fnd_ldap_wrapper.G_UPDATE,
54: ** fnd_ldap_wrapper.G_DELETE.
55: ** x_fnd_user Always returns fnd_ldap_wrapper.SUCCESS
56: ** since FND operations are always allowed.
49: ** Parameters :
50: ** p_operation pls_integer Indicates the operation who permission
51: ** is to be determined. It could take
52: ** values such as fnd_ldap_wrapper.G_CREATE,
53: ** fnd_ldap_wrapper.G_UPDATE,
54: ** fnd_ldap_wrapper.G_DELETE.
55: ** x_fnd_user Always returns fnd_ldap_wrapper.SUCCESS
56: ** since FND operations are always allowed.
57: ** x_oid Returns fnd_ldap_wrapper.SUCCESS if the
50: ** p_operation pls_integer Indicates the operation who permission
51: ** is to be determined. It could take
52: ** values such as fnd_ldap_wrapper.G_CREATE,
53: ** fnd_ldap_wrapper.G_UPDATE,
54: ** fnd_ldap_wrapper.G_DELETE.
55: ** x_fnd_user Always returns fnd_ldap_wrapper.SUCCESS
56: ** since FND operations are always allowed.
57: ** x_oid Returns fnd_ldap_wrapper.SUCCESS if the
58: ** provisioning profile permits apps to perform
51: ** is to be determined. It could take
52: ** values such as fnd_ldap_wrapper.G_CREATE,
53: ** fnd_ldap_wrapper.G_UPDATE,
54: ** fnd_ldap_wrapper.G_DELETE.
55: ** x_fnd_user Always returns fnd_ldap_wrapper.SUCCESS
56: ** since FND operations are always allowed.
57: ** x_oid Returns fnd_ldap_wrapper.SUCCESS if the
58: ** provisioning profile permits apps to perform
59: ** the operation at hand in OID.
53: ** fnd_ldap_wrapper.G_UPDATE,
54: ** fnd_ldap_wrapper.G_DELETE.
55: ** x_fnd_user Always returns fnd_ldap_wrapper.SUCCESS
56: ** since FND operations are always allowed.
57: ** x_oid Returns fnd_ldap_wrapper.SUCCESS if the
58: ** provisioning profile permits apps to perform
59: ** the operation at hand in OID.
60: ** p_attribute : a comma separated list of attributes to check
61: ** p_user_name Used for custom DIT.
65: **
66: ** Returns :
67: */
68:
69: procedure is_operation_allowed(p_direction in pls_integer default FND_LDAP_WRAPPER.G_EBIZ_TO_OID,
70: p_entity in pls_integer,
71: p_operation in pls_integer,
72: p_attribute in out nocopy varchar2,
73: x_fnd_user out nocopy pls_integer,