tag:blogger.com,1999:blog-1816408742331555186.post7125332456530434806..comments2023-05-22T03:03:54.478-07:00Comments on Oracle Fusion Middleware Security: Couple of things you need to know about the User/Role APIChris Johnson (Oracle)http://www.blogger.com/profile/13331466366556759355noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-1816408742331555186.post-80845221698289648262013-02-26T11:34:47.411-08:002013-02-26T11:34:47.411-08:00agtl,
There are 3 properties that control where u...agtl,<br /><br />There are 3 properties that control where users are created:<br />ST_SUBSCRIBER_NAME, RT_USER_CREATE_BASES and RT_USER_SELECTED_CREATE_BASE.<br /><br />RT_USER_SELECTED_CREATE_BASE is the create base where user will be created upon execution of createUser() call. <br />If the selected create base is null and the ST_SUBSCRIBER_NAME is not specified then the value will be the first supplied value of the RT_USER_CREATE_BASE. <br />If the ST_SUBSCRIBER_NAME is specified, the default value would be relative to subscriber name based on the identity store type. <br /><br />Try this before creating the user:<br /><br />JpsContextFactory ctxFactory = JpsContextFactory.getContextFactory();<br />JpsContext ctx = ctxFactory.getContext();<br />LdapIdentityStore idstoreService = (LdapIdentityStore)ctx.getServiceInstance(IdentityStoreService.class)<br />IdentityStore idStore = idstoreService.getIdmStore();<br /><br />StoreConfiguration storeConfig = idStore.getStoreConfiguration();<br />storeConfig.setProperty(OIDIdentityStoreFactory.RT_USER_SELECTED_CREATE_BASE,"cn=users,dc=us,dc=oracle,dc=com");<br /><br />Andre.Andre Correahttps://www.blogger.com/profile/02002324440974871079noreply@blogger.comtag:blogger.com,1999:blog-1816408742331555186.post-42098762931016760882013-02-26T04:10:58.399-08:002013-02-26T04:10:58.399-08:00Hi,
By any chance do you know how to change where...Hi,<br /><br />By any chance do you know how to change where the users are being created? How to assign and make it work the property user.create.bases?<br /><br />I can't specify where to create my users. It just create them in cn=Users,dc=comagtlhttps://www.blogger.com/profile/12913708038342926392noreply@blogger.comtag:blogger.com,1999:blog-1816408742331555186.post-87261534305902790172012-06-26T10:48:52.088-07:002012-06-26T10:48:52.088-07:00Ravi, this is being discussed internally. I still ...Ravi, this is being discussed internally. I still don't have an answer.<br />Andre.Andre Correahttps://www.blogger.com/profile/02002324440974871079noreply@blogger.comtag:blogger.com,1999:blog-1816408742331555186.post-80653515996639583832012-06-20T10:11:32.606-07:002012-06-20T10:11:32.606-07:00Hi Andre, nice post.
I have a question, I have se...Hi Andre, nice post.<br /><br />I have a question, I have setup my OpenLDAP authenticator like you mentioned and I have created my own object class in LDAP which extends inetorgperson and it also has a required attribute. I have added this class to jps-config.xml file using extended property user.object.classes and the required attribute using user.mandatory.attrs. <br />Now when I try to add a user using this API I get the error saying " oracle.security.idm.IMException: Mandatory attribute missing :attributeName". Am I missing anything? <br /><br />Any help is greatly appreciated.<br /><br />Thanks,<br />Raviravihttps://www.blogger.com/profile/05046873841008002518noreply@blogger.comtag:blogger.com,1999:blog-1816408742331555186.post-83060354734603665932012-02-08T11:25:07.264-08:002012-02-08T11:25:07.264-08:00Hi Andre, thanks, great post.
Do you know how do g...Hi Andre, thanks, great post.<br />Do you know how do get a list of users that are member of a LDAP group?<br />thanks,<br />NikoNikohttps://www.blogger.com/profile/07857777391895641950noreply@blogger.comtag:blogger.com,1999:blog-1816408742331555186.post-13070955462566161152011-09-26T15:25:24.420-07:002011-09-26T15:25:24.420-07:00Hello Charles, there are no javadocs. Ideally, you...Hello Charles, there are no javadocs. Ideally, you should work with the interface methods documented here: http://download.oracle.com/docs/cd/E12839_01/doc.1111/e14658/toc.htm<br />Cheers,<br />Andre.Andre Correahttps://www.blogger.com/profile/02002324440974871079noreply@blogger.comtag:blogger.com,1999:blog-1816408742331555186.post-88597101826988550372011-08-08T01:39:12.478-07:002011-08-08T01:39:12.478-07:00Hi Andre,
Do you know where to find the javadocs ...Hi Andre,<br /><br />Do you know where to find the javadocs for other providers other than OID?<br /><br />Can't find it! <br /><br />Cheers,<br />CharlesCharles Poulsenhttps://www.blogger.com/profile/01908257636257717349noreply@blogger.com