1 PACKAGE FND_SSO_REGISTRATION AS
2 /* $Header: AFSCORGS.pls 120.3.12000000.3 2007/03/30 17:29:32 rsantis ship $*/
3
4 --
5 -- Exception which is thrown when an invalid registration is detected
6
7 G_INVALID_SETUP_EXP EXCEPTION;
8
9 --
10 -------------------------------------------------------------------------------
11 /*
12 ** Name : isOperationPermited
13 ** Type : Public, FND Internal
14 ** Desc : Indicates if Provisioning Profile AppsToOID at OiD permits operations
15 ** IDENTITY_ADD,INDENTITY_MODIFY,IDENTITY_DELETE
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.
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.
30 ** p_realm_dn Realm to check. Ignored when p_user_name is not null.
31 ** If both are null fnd_oid_plug.get_default_realm() will be used.
32 **
33 ** Returns :
34 */
35 procedure is_operation_allowed(p_operation in pls_integer,
36 x_fnd_user out nocopy pls_integer,
37 x_oid out nocopy pls_integer,
38 p_user_name in varchar2 default null,
39 p_realm_dn in varchar2 default null);
40
41 --
42 -------------------------------------------------------------------------------
43 /*
44 ** Name : is_operation_allowed
45 ** Type : Public, FND Internal
46 ** Desc : Indicates if Provisioning Profile AppsToOID at OiD permits operations
47 ** IDENTITY_ADD,INDENTITY_MODIFY,IDENTITY_DELETE
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.
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.
62 ** If not null fnd_oid_plug.getRealmDN(p_user_name) will be used as realm.
63 ** p_realm_dn Realm to check. Ignored when p_user_name is not null.
64 ** If both are null fnd_oid_plug.get_default_realm() will be used.
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,
74 x_oid out nocopy pls_integer,
75 p_user_name in varchar2 default null,
76 p_realm_dn in varchar2 default null
77 );
78
79
80 end FND_SSO_REGISTRATION;
81