-
1. Re: How to build custom User/Role/UserProfile/Membership Mod
bdaw Mar 8, 2008 4:42 PM (in response to arnieoag)For the schema differences you can change identity-profile.xml file.
http://wiki.jboss.org/wiki/Wiki.jsp?page=PortalSVNRepo
Identity module is built separately from the portal. For 2.6.4 you need:
http://anonsvn.jboss.org/repos/portal/modules/identity/tags/JBP_IDENTITY_1_0_2/
DB implementation:
http://anonsvn.jboss.org/repos/portal/modules/identity/tags/JBP_IDENTITY_1_0_2/identity/src/main/org/jboss/portal/identity/db/
LDAP implementation:
http://anonsvn.jboss.org/repos/portal/modules/identity/tags/JBP_IDENTITY_1_0_2/identity/src/main/org/jboss/portal/identity/ldap/
The thirdparties in main portal build are downloaded on the first run. Simply use ./build/build.xml (or run ./build/build.sh). It'll work the same for the identity module.
An option for you would be to use custom LoginModule implementation to authenticate and then synchronize into portal DB using SynchronizingLoginModule. I don't know if it fits your usecase. -
2. Re: How to build custom User/Role/UserProfile/Membership Mod
arnieoag Mar 10, 2008 1:43 PM (in response to arnieoag)Thanks for the reply, but the psf file for Eclipse is broken (there is no /portal/trunk on the server).
-
3. Re: How to build custom User/Role/UserProfile/Membership Mod
julien1 Mar 10, 2008 2:30 PM (in response to arnieoag)"arnieOag" wrote:
Thanks for the reply, but the psf file for Eclipse is broken (there is no /portal/trunk on the server).
what code are you looking for ? the code we are using right now for the next version is 2.7 and can be found in branch 2.7 :
http://anonsvn.jboss.org/repos/portal/branches/JBoss_Portal_Branch_2_7/ -
4. Re: How to build custom User/Role/UserProfile/Membership Mod
arnieoag Mar 10, 2008 2:37 PM (in response to arnieoag)I'm trying to download the code base for the portal so I can eventually code and test my replacement modules for the ones listed at the top of this thread.
The eclipse PSF file references directories that aren't under the SVN path. The line:
has a path (http://anonsvn.jboss.org/repos/portal/) which has no "trunk" under it:
* admin/
* archives/
* branches/
* demo/
* docs/
* maven/
* modules/
* tags/
* tools/
So the Eclipse-based Team/Check out process has errors. Then build fails because other projects (like Identity - which it the whole point of this) is missing.
:( -
5. Re: How to build custom User/Role/UserProfile/Membership Mod
prabhat.jha Mar 10, 2008 2:44 PM (in response to arnieoag)Identity is a module by itself and codebase is separate from main portal code. You can check out the code from http://anonsvn.jboss.org/repos/portal/modules/identity/
-
6. Re: How to build custom User/Role/UserProfile/Membership Mod
arnieoag Mar 10, 2008 2:54 PM (in response to arnieoag)I understand that, I can pull that down w/o issue (assuming /modules/identity/trunk) is what I need.
But when I go to http://anonsvn.jboss.org/repos/portal/branches/JBoss_Portal_Branch_2_7/ and drill down to http://anonsvn.jboss.org/repos/portal/branches/JBoss_Portal_Branch_2_7/build/ide/eclipse/3.2/team/anonymous-projectSet.psf save that file locally and then try to use it, I get:
"Error Getting Dir list" from Eclipse and the process fails.
Shouldn't this file be correct in matching the folder structure? The list below does not match what's in the file.
# api/
# build/
# cms/
# core/
# core-admin/
# core-cms/
# core-identity/
# core-management/
# core-samples/
# core-search/
# core-wsrp/
# faces/
# format/
# jems/
# migration/
# portlet-server/
# registration/
# samples/
# search/
# security/
# server/
# testsuite/
# theme/
# thirdparty/
# tools/
# widget/
# workflow/
# wsrp/