[jboss-user] [JBoss Portal] - Security constraints for portlets
Hi All, I wish to make so that only the certain users or roles could see and have access to portlets. For example for a role "roleA" are visible only portlet "Portlet1" and "Portlet2", and for a role "roleB" portlet "Portlet2", "Portlet3". There it is possible to establish only four levels of security: view, viewrecursive, personalize and personalizerecursive. But I cannot assign in a porltet management a security condition of portlets for role as "no view" or "no permission". How it is possible to solve this problem? Many thanks, Michael View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973741#3973741 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973741 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - LDAP to provide user information
Hi All, I have same question: In my portal users are stored in a database of the portal and identified by means of a database. I need to connect a LDAP server, but the identification of users in a portal must not be made through these LDAP. Since my portal includes services from other portals I should make SSO mechanism. To each user of portal is compared the ID of user from LDAP servers. When the user login on my portal there is its identification on means of a database of my portal. Further we find the given user in LDAP Servers a foreign portal, we receive its login and the password. With these data the user automatically passes identification and authorization on service of a foreign portal which includes my portal. Are there any ideas how it to make? Is it possible to connect a LDAP server to JBoss portal in this case? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977489#3977489 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977489 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: The tree of directories is broken in svn and zip-archive
Thank you Chris! :) It is strange only, that it is not written in the main documentation here: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossPortalFromScratch View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975005#3975005 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975005 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Error by building JBoss Portal from source
Thank you Peter :) I have one more time builded the portal. This time all without error. I do not know why from the beginning so it has turned out. The build has any stochastic character. I in general changed nothing, have simply entered command one more time. In any case works. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974997#3974997 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974997 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Error by building JBoss Portal from source
I try to build a portal from source. At compilation I get an error: | C:\Entwicklung\jboss-portal-2.4.0-src\build>ant | ... | BUILD FAILED | C:\Entwicklung\diplom\jb2.4trunk\build\build.xml:356: The following error occurred while executing this line: | C:\Entwicklung\diplom\jb2.4trunk\build\build-thirdparty.xml:117: A versioning problem exists: | Component: javassist is at version: 3.3.0.GA | but it is also required to be compatible with: [EMAIL PROTECTED], version=3.2.0.CR1}, [EMAIL PROTECTED], version=3.2.0.CR2}, [EMAIL PROTECTED], version=3.2.0.GA}] | by: jboss/jbossretro-rt | | Total time: 17 seconds | C:\Entwicklung\diplom\jb2.4trunk\build> | What is wrong here? (I use java version 1.4.2; with version 1.5 is the same; ant version 1.6.5) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974941#3974941 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974941 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Security constraints for portlets
Very strange. What to do if I have a portlet which should be visible for users, and only admin could change it properties (edit-mode of portlet)? For example in Jetspeed2 it in general without problems. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974701#3974701 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974701 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - The tree of directories is broken in svn and zip-archive for
I try to install a portal from source. I check out the last version from a svn (Revision 5271: /trunk). I can't generate preconfigured datasources for DB, since there is no one directory in the distribution: thirdparty In the documentation (http://docs.jboss.com/jbportal/v2.4/reference-guide/en/html/installation.html#d0e764) is shown the tree which should be present at the distribution. But as it has appeared, there is no "thirdparty" directory! Therefore there is an error. Also I downloaded the last version in ZIP-archive (jboss-portal-2.4.0-src.tar) from a server, but there is the same. Here is an error: | C:\Entwicklung\jb2.4trunk\core>build datasource | Executing C:\Entwicklung\jb2.4trunk\core\..\tools\bin\ant.bat -logger org.apache.tools.ant.NoBannerLogger datasource | Buildfile: build.xml | C:\Entwicklung\jb2.4trunk\thirdparty\libraries.ent could not be found | | BUILD FAILED | java.io.FileNotFoundException: C:\Entwicklung\diplom\jb2.4trunk\core\..\thirdparty\libraries.ent | | Total time: 0 seconds | Drucken Sie eine beliebige Taste . . . | | C:\Entwicklung\jb2.4trunk\core>cd .. | C:\Entwicklung\jb2.4trunk>dir | Datentrager in Laufwerk C: ist DiskC | Volumeseriennummer: C458-AC9D | | Verzeichnis von C:\Entwicklung\jb2.4trunk | | 27.09.2006 21:19 . | 27.09.2006 21:19 .. | 27.09.2006 21:18 api | 27.09.2006 21:17 bridge | 27.09.2006 23:41 build | 27.09.2006 21:13 cms | 27.09.2006 21:15 common | 27.09.2006 21:15 core | 27.09.2006 21:12 faces | 27.09.2006 21:12 federation | 27.09.2006 21:13 format | 27.09.2006 21:19 forums | 27.09.2006 21:16 identity | 27.09.2006 21:17 jems | 27.09.2006 21:16 migration | 27.09.2006 21:16 portlet | 27.09.2006 21:18 samples | 27.09.2006 21:18 security | 27.09.2006 21:18 server | 27.09.2006 21:12 test | 27.09.2006 21:16 testsuite | 27.09.2006 21:18 theme | 27.09.2006 21:18 tools | 27.09.2006 21:17 wsrp |0 Datei(en) 0 Bytes | 24 Verzeichnis(se), 25 432 559 616 Bytes frei | | C:\Entwicklung\jb2.4trunk> View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974698#3974698 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974698 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Security constraints for portlets
It has turned out! Thanks you Peter! :) One more question. When I login as the user I can edit properties of portlet, but I granted role as "view" and not as "personalize". In my case it is properties of "news portlet" where I set a new source-url. I would like that roles could see, but not edit property of portlet. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974643#3974643 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974643 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Security constraints for portlets
Did I not assign for instances of portlet permission? I thought when I place instance of portlet on page directly, ?hose instance with mouse and pressed the "security" link, then assigned permission it is enough of it. I have made, as you have written and have assign security properties of each instance, but portlets are still visible for all roles. Any ideas what is wrong? At me it was automatically established security property for the Uncheked-role as visible and I could not change it to unmark. How it is possible to assign "-none-" for a role? screenshots: http://www.mifan.info/i1.jpg http://www.mifan.info/i2.jpg View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974626#3974626 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974626 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Security constraints for portlets
anonymous wrote : What is the security configuration for the two portlet instances? You never said that you set those. What do you mean? Have you mean security configuration in *-objects.xml? I would like just to assign permission for instance on the fly in administrative portlet. I have created two instances of "News Portlet" and has named them as "Portlet1" and "Portlet2". anonymous wrote : Further has created page with two portlets and for everyone portlet has assign permission. (For Portlet1 - RoleA, Portlet2 - RoleB - as shown in images below) | Object RoleA RoleB Unchecked | Page1view view-none- | Portlet1view -none- -none- | Portlet2 -none- view-none- | Look at the images: http://www.mifan.info/rolea.jpg http://www.mifan.info/roleb.jpg Or I don't understand something? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974587#3974587 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974587 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Security constraints for portlets
I want all portlets on the same page. I have changed jboss-portal.sar/conf/config.xml to "hide" (hide) I have created two roles and have assign users to these roles. Further has created page with two portlets and for everyone portlet has assign permission. (For Portlet1 - RoleA, Portlet2 - RoleB - as shown in images below) [img]http://www.mifan.info/rolea.jpg[/img] [img]http://www.mifan.info/roleb.jpg[/img] Then I log in in a portal under one of users of RoleA. But I saw both portlets at once, instead of that which should be visible. Why does not work, what I do wrong? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974497#3974497 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974497 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Security constraints for portlets
What is ACL? If I have correctly understood, it can be made all my stuff by editing *-objects.xml only by hand. Is it possible to solve it by program way ( for example to write administrative portlet)? I.e. whether is in a jboss portal necessary API by means of which I can operate *-objects.xml (assign security constraints for portlets) in life? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974030#3974030 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974030 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: No reference for creation of the new user in JB Portal 2
I have not a link for creation of new user in the users portlet. See capture picture: [img]http://www.mifan.info/jbportal.jpg[/img] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973506#3973506 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973506 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - No reference for creation of the new user in JB Portal 2.4
Hi All, I use JB Portal 2.4. Strangely there is no reference for creation of the new user in a portal!!! I can see only the list of users. How it is possible to create the new user in that case? Michael View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973419#3973419 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973419 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user