DBA Data[Home] [Help]

PACKAGE: APPS.FND_SSO_REGISTRATION

Source


1 PACKAGE FND_SSO_REGISTRATION AUTHID CURRENT_USER AS
2 /* $Header: AFSCORGS.pls 120.5.12010000.3 2009/06/15 16:48:46 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 procedure get_user_or_site_profile (  profile_name in varchar2 ,
80    user_name_z in varchar2 default null ,
81    val_z out nocopy varchar2 ,
82    defined_z out nocopy boolean );
83 
84 function find_realm_index( dn in  varchar2 ) return pls_integer ;
85 function find_realm(idx in pls_integer) return varchar2;
86 
87 
88 function get_realm_data ( realm_idx in pls_integer ) return FND_LDAP_UTIL.ldap_record_type;
89 
90 function get_realm_attribute( realm_idx in pls_integer, attName in varchar2, att_idx in pls_integer default 0  ) return varchar2;
91 
92 
93 function get_realm_attribute( realmDN in varchar2, attName in varchar2, att_idx in pls_integer default 0  ) return varchar2;
94 
95 
96 function getRealmSearchBaseList( realm_idx in pls_integer ) return dbms_ldap.string_collection;
97 
98 -- returns the realm wher dn is under any of the searchbase
99 
100 function getUserRealmIndex(dn in varchar2) return pls_integer;
101 function getGuidRealm(l_guid in FND_USER.user_guid%type) return varchar2;
102 
103 function getDefaultRealm(ldap in out  nocopy dbms_ldap.session ) return varchar2;
104 
105 function getDefaultRealm return varchar2;
106 
107 
108 end FND_SSO_REGISTRATION;
109