Accessing Role and Group info

2005-04-21 Thread Bernie, Miles R \(UK - London\)
Hello, Perhaps you can help? I'm trying to write a Forum portlet as a means to learn all about portlets / struts bridges and of course the wonderful Jetspeed2 itself! In the portlet I'm writing I'd like to provide access to Forums based on a users Role membership. I understand tha

Print control not displayed for Role user - Very Urgent

2005-03-29 Thread Bhaskar T
Hi All, I have created my own Security ID and I gave the following (view,print,maiximize,minimize) Security Access to Role user. Now when I log in and access the psml for which my security id is defined, the protlet is displayed but the print control is not getting displayed only maximize and

adding a role in role-based PSML [J1]

2005-02-03 Thread Archana Turaga
Hi, I changed my property files to do role-based. When I login as "admin/jetspeed" and add a new role. Assign a user to this new role only (the user is not mapped to any other roles) and login as that user I get the message "Error retrieving profile". I looked at the Jet

RE: How to get a logged in users Role and Group

2005-02-01 Thread Archana Turaga
To get user: data.getUser().getUserName(). Then use the following code to get the role valuein our case we just had one role associated with a user therefore it retrieves the first GroupRole object to get the value. The same can be used to get the group name for the user. public String

How to get a logged in users Role and Group

2005-02-01 Thread Bhaskar T
Hi All, How should I get the logged in users ROLE and GROUP in the top_loggedIn.jsp Thanks in Advance Bhaskar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Difference between Role and the group -Newbie questin

2005-01-25 Thread Randy Watler
Thilina, Are you asking about J1 or J2? For J2, roles and groups are symmetric and can be used interchangably as the portal designer/implementer wishes. Your example is typical. J2 stores role and group information in the DB, not PSML files. In addition to the admin portlets, one can also

Difference between Role and the group -Newbie questin

2005-01-24 Thread Thilina Anjitha
Hi, I saw that, using the admin console, we can add users, roles and groups. 1) What is the difference between the Role and the Group? (I really appreciate if you provide some sample data for roles and groups.) 2)Say that I added the following using the admin console.(logging as admin user

RE: how to add security permissions to role eg :user

2004-12-09 Thread Srinivasarao Sri
Hi Andy, I added one security Id Now its working fine. Thanks a lot. Regards, Srinivas [EMAIL PROTECTED] wrote: You could create a new security id and assign max and min only to user role. Then assign this new security id to whatever the portlets you want. Andy -Original Message- From

RE: how to add security permissions to role eg :user

2004-12-09 Thread Andy . Sun
You could create a new security id and assign max and min only to user role. Then assign this new security id to whatever the portlets you want. Andy -Original Message- From: Srinivasarao Sri [mailto:[EMAIL PROTECTED] Sent: Thursday, December 09, 2004 2:01 AM To: [EMAIL PROTECTED] Subject

Re: how to add security permissions to role eg :user

2004-12-09 Thread Peter Kmet
Hi, I tried this using (logged-on as admin) Security role browser property in Security tab. But this doesn't work correctly :( It should work this way :/ ...in my view :) On Thu, Dec 09, 2004 at 01:00:46AM -0800, Srinivasarao Sri wrote: > Hi Team, > To a portlet I wanted to kno

adding security permissions to role

2004-12-09 Thread Srinivasarao Sri
Hi Team, To a portlet I wanted to know how to remove close , info, customize permissions to particular role eg : user I wanted only to show minimize and maximize. Can you please help me in this. Thanks in advance Srinivas - Do you Yahoo!? Yahoo

how to add security permissions to role eg :user

2004-12-09 Thread Srinivasarao Sri
Hi Team, To a portlet I wanted to know how to remove close , info, customize permissions to particular role eg : user I wanted only to show minimize and maximize. Can you please help me in this. Thanks in advance Srinivas - Do you Yahoo!? Yahoo

Re: [SPAM] Re: PSML from role

2004-12-08 Thread Vladimir Figurov
Peter F. wrote: Hello Vladimir, But there is a problem if you then want to revoke role from user or if you assign the same role to the same user once again. yes, but I simple a delete psml-profile on this user - and after ferst logon his psml profile - is correct!!! Wednesday, December 8

Re: [SPAM] Re: PSML from role

2004-12-08 Thread Peter F.
Hello Vladimir, But there is a problem if you then want to revoke role from user or if you assign the same role to the same user once again. Wednesday, December 8, 2004, 3:51:39 PM, you wrote: VF> Hi VF> 1) set portal in role based mode (see tutorial) - any new user make from VF> def

Re: PSML from role

2004-12-08 Thread Vladimir Figurov
Hi 1) set portal in role based mode (see tutorial) - any new user make from default role-psml. 2)set some panels and portlets in default-role-psml (in distr - this user role) file. After add another role - jetspeed make a MERGE role's psml files: default-role-psml + another-role-psml

PSML from role

2004-12-08 Thread Carlos Torres
Hi people, Anybody know how to get the screen configuration( psml file) from a role set when a new user is created? I need to set some panels and portlets for any role and when create user for any role this user be setted with this configuration(psml file). Thank you very much Regards

RE: Strategy for role based security

2004-11-07 Thread Randy Watler
AFAIK, the role based security/access control in the PageManager is J2 specific, but does utilize the PortletRequest.isUserInRole() checks available in JSR 168. In that sense, it is compatible and extends the standard. There are also permissions based security options available with this new

Re: Strategy for role based security

2004-11-06 Thread niksa_os
J2 now supports a variety of role/group profiling features and is having role based access security grafted in today. Is it J2 specific feature or is it required in JSR 168 portal/portlet? - To unsubscribe, e-mail: [EMAIL

Re: Strategy for role based security

2004-11-05 Thread David Sean Taylor
Le Tuan H wrote: Hi Randy, Thanks for the info! I can't wait to use J2. Currently, I have J1.5 installed on my development environment and it's running fine. Does the J1.5 support role-based security as described in my previous post? The list archives have lots of discussions about

RE: Strategy for role based security

2004-11-05 Thread Randy Watler
Tuan, I am not a J1 authority, but I believe it does have profiling and security features that use roles. Look into "role-fallback" profiling rules and page/fragment "acl" attributes for role based security. I am sure someone else can give you better specifics. J2 will be

RE: Strategy for role based security

2004-11-05 Thread Le Tuan H
Hi Randy, Thanks for the info! I can't wait to use J2. Currently, I have J1.5 installed on my development environment and it's running fine. Does the J1.5 support role-based security as described in my previous post? Thanks, Tuan This electronic message transmission, including any a

RE: Strategy for role based security

2004-11-05 Thread Randy Watler
J2 now supports a variety of role/group profiling features and is having role based access security grafted in today. See the profiler design docs for more information on the profiler capabilities. J2 is to be released before the end of the year and is available now via CVS. Randy -Original

Strategy for role based security

2004-11-05 Thread Le Tuan H
Hi, We are developing an intranet portal and we want to have a role based security with the following roles: admin user reporting_analyst manager All the registered users have at least the user role. All the people when they register, they automatically get the user role. The admin user can

RE: class cast exception for LDAP role

2004-10-30 Thread Ender Hikmet KILIÇO?LU
: Amit Soni [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 27, 2004 7:37 AM To: [EMAIL PROTECTED] Subject: class cast exception for LDAP role Hi all, Here i want to use LDAP with jetspeed for that i gone through ldap-notes.txt file and successfully done the LDAP part. After that i have modify

RE: class cast exception for LDAP role

2004-10-27 Thread Jeremy Ford
There is a bug in J1.5 I believe. You may want to try HEAD or apply the fix to 1.5. Jeremy Ford [EMAIL PROTECTED] -Original Message- From: Amit Soni [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 26, 2004 11:37 PM To: [EMAIL PROTECTED] Subject: class cast exception for LDAP role Hi

RE: class cast exception for LDAP role

2004-10-27 Thread Andy . Sun
PROTECTED] Sent: Tuesday, October 26, 2004 10:37 PM To: [EMAIL PROTECTED] Subject: class cast exception for LDAP role Hi all, Here i want to use LDAP with jetspeed for that i gone through ldap-notes.txt file and successfully done the LDAP part. After that i have modify my JetspeedSecurity.propeties

class cast exception for LDAP role

2004-10-27 Thread Amit Soni
=org.apache.jetspeed.services.security.ldap.LDAPUserManagement services.JetspeedSecurity.user.class=org.apache.jetspeed.om.security.ldap.LDAPUser # -- Stop for netcore # # Role Management Service # # #services.RoleManagement.classname

RE: Copying psml file based on role

2004-08-24 Thread Archana Turaga
Use Role-based PSML, In this case you will have two psmls . One for the instructor role and one for the student role. When the admin logsin and assigns the role instructor to the user the instructor's psml will automatically be assigned to it. See the configuration settings description in Jet

Copying psml file based on role

2004-08-24 Thread mahaveer jain
Hi, We are doing a project where we need to identify instructor and student. So when admin creates a new user, he has a choice of assign either of the role to the new user. We want the psml for the user to be copied based on the role.For this to accomplish, we will have psml for say

Re: What does role/admin psml do?

2004-07-24 Thread Stijn de Witt
Thanks Cyrille! -Stijn - Original Message - From: "Cyrille GACHOT" <[EMAIL PROTECTED]> To: "Jetspeed User List" <[EMAIL PROTECTED]> Sent: Friday, July 23, 2004 10:41 AM Subject: Re: What does role/admin psml do? > Hi Stijn, > If you don't wan

Re: What does role/admin psml do?

2004-07-22 Thread Cyrille GACHOT
Hi Stijn, If you don't want any user psml set this property to noting in JetspeedResources.properties: services.Profiler.newuser.template= Then with this property, you will get the role psml: services.Profiler.rolefallback=true Hope this helps Cyrille Le jeu 22/07/2004 à 20:59, Stijn de

Re: What does role/admin psml do?

2004-07-22 Thread Stijn de Witt
Still, it doesn't really make sense. anon is not a real user, so why not only have role guest, with the same permissions? Anyhow, I can live with user anon I guess. Another question then, could I have it like this: psml |-- role ||-- guest ||-- user ||-- ma

AW: What does role/admin psml do?

2004-07-22 Thread WWW.APACHE-FORUM.COM
i guess you cant remove anon. there aint any lower permission-users that anon, instead of null... -Ursprüngliche Nachricht- Von: Stijn de Witt [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 22. Juli 2004 20:19 An: Jetspeed Users List Betreff: Re: What does role/admin psml do? But is

Re: What does role/admin psml do?

2004-07-22 Thread Stijn de Witt
But is it possible to have only role/admin and role/guest and not user/admin and user/anon? I am asking because I have spent a few days experimenting with role based psml, but I can't seem to be able to remove user/anon... -Stijn - Original Message - From: "Danny" <[EM

AW: What does role/admin psml do?

2004-07-22 Thread Danny
You can choose the behaviour, but default is user profile. There ist a switch like rolebasedpsml in jp.r or tr.p > -Ursprüngliche Nachricht- > Von: Stijn de Witt [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 22. Juli 2004 18:27 > An: Jetspeed Users List > Betreff:

AW: What does role/admin psml do?

2004-07-22 Thread WWW.APACHE-FORUM.COM
You'll get the user/admin/html/default.psml, when loging in as admin/admin... Best regards -Ursprüngliche Nachricht- Von: Stijn de Witt [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 22. Juli 2004 18:27 An: Jetspeed Users List Betreff: What does role/admin psml do? Can anyone te

What does role/admin psml do?

2004-07-22 Thread Stijn de Witt
Can anyone tell me what the meaning is of having a user/admin/html/default.psml and a role/admin/html/default.psml? If I login as user admin with role admin, which psml do I get? Can I make a user stijn with role admin, and will it then use role/admin/html/default.psml? Can I completely remove

RE: Role Based PSML

2004-07-15 Thread Bob Fleischman
I'm a bit confused. 1. You create a new user - at this point his PSML is created based upon the template 2. You assign a user to a role. Where do you want to change the users PSML?? What is the business problem you are trying to solve?? Bob -Original Message- From: Sunil Shes

RE: Role Based PSML

2004-07-14 Thread Sunil Sheshadri
efan Kuhn [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 3:11 PM To: Jetspeed Users List Subject: Re: Role Based PSML I think this is a misunderstanding about what role-based psml means. Role-based psml means that there are no individual psmls, but the psmls of his role(s) are used and

Re: Role Based PSML

2004-07-14 Thread Stefan Kuhn
I think this is a misunderstanding about what role-based psml means. Role-based psml means that there are no individual psmls, but the psmls of his role(s) are used and can not be changed by the user (not sure what's happening if a user has got multiple rows). What you want is not possib

Role Based PSML

2004-07-14 Thread Sunil Sheshadri
Hi, Has anyone tried role based psml. Basically this is what i want. When ever a new user logs in, i need to clone his PSML with his role's psml only for the first time only. This is not happening. I have new user logging in as USER role but once he logs in, i don't see any entry for

Re: Role Based User Management

2004-06-18 Thread Stijn de Witt
Thanks David! - Original Message - From: "David Sean Taylor" <[EMAIL PROTECTED]> To: "Jetspeed Users List" <[EMAIL PROTECTED]> Sent: Friday, June 18, 2004 3:55 AM Subject: Re: Role Based User Management > > On Jun 16, 2004, at 3:07 AM, Stijn de

Re: Role Based User Management

2004-06-17 Thread David Sean Taylor
On Jun 16, 2004, at 3:07 AM, Stijn de Witt wrote: Hi, I have asked a few questions on the User List about role based PSML. I still only half understand how it works, but I'm getting there... :) Recently I checked out jetspeed-1.6-dev from the CVS and I noticed that changes had been/are

Role Based User Management

2004-06-16 Thread Stijn de Witt
Hi, I have asked a few questions on the User List about role based PSML. I still only half understand how it works, but I'm getting there... :) Recently I checked out jetspeed-1.6-dev from the CVS and I noticed that changes had been/are being made to the user/group/role structure. Can a

Role based user management with Basic Authentication [J1.4]

2004-06-07 Thread Mallhar Kadam
Hi, Currently we have set of users with different views of our portal. So I believe that we have to go with Role based user management. Also in our case, users are basic Authenticated. 1) First time user logs in our portal, we should be able to save his information into databse with

PSML reference from role/manager back to user/anon, how?

2004-06-07 Thread Stijn de Witt
Hi, I am trying to setup role-based security. I have setup the webapp/WEB-INF/psml directory so it looks like this (thanks to some help from this group): webapp/WEB-INF/psml |-- role ||-- admin || \-- html || \-- default.psml ||-- guest || \-- html

Role Based PSML + Property Overriding

2004-05-17 Thread Menon, Hema
Hi, A few questions on role based PSML. Role based PSML seems to be enabled only if the following modifications to the properties are done in the jetspeedResources.properties. It does not seem to work if the properties are overridden in my.properties.(custom file

R: role merging (solved)

2004-04-08 Thread Alessandro La Rocca
I solved my problem using references. Now the default role psml contains just a reference to the real psml (where content is depicted) like the following Role1 mainmenu item When the merged psml are created, they contain just references to the original role psml. By this way

Re: Fwd: [J1.4] Role based Menu Navigation Generation

2004-04-07 Thread Stuart Belden
First, determine what jetspeed roles will have a menu associated with them (each role will have a different menu). For example, assume the "anon", "user" and "admin" roles will each have different menus. Define a default.psml entry under for each of those roles:

role merging

2004-04-07 Thread Alessandro La Rocca
Hello, my jetspeed is configured to use role merge and, at first, it seems to work properly.In fact, the first time an user logs in, a new psml is created merging the required role psml. Unfortunately, if the role psml changes (and this happens frequently), changes are not reflected on the

Fwd: [J1.4] Role based Menu Navigation Generation

2004-04-06 Thread Jumpy
Hello Everybody, Can anybody please answer my question ? any examples/pointers will really help me. thanks a lot, j --- Jumpy <[EMAIL PROTECTED]> wrote: > Date: Mon, 5 Apr 2004 11:15:57 -0700 (PDT) > From: Jumpy <[EMAIL PROTECTED]> > Subject: [J1.4] Role based Menu Navigat

[J1.4] Role based Menu Navigation Generation

2004-04-05 Thread Jumpy
Hi, Just started getting feel of Jetspeed ! In our portal requirement is as per user role, our menu naviagation bar will display different menus. So Admin and guest user will have totally different menu navigation. My question is how can I plug in logic so that Jetspeed pickup the correct menu

RE: Role Updation Error

2004-03-16 Thread Nagesh Mittal
hi, I am using the following velocity macro for role updation: == -user-role-form.vm- #** @author mailto:[EMAIL PROTECTED]">David Sean Taylor @version $Id: user-role-form.vm,v 1.1.1.1 2003/10/22 03:24:59 sshe

Re: Role Updation Error

2004-03-16 Thread scott
update role+permission: ** java.lang.IndexOutOfBoundsException: Index: 3, Size: 3 ** ** Any idea about how to tackle this problem? ** ** Also, I am getting another error: ** ** [15 Mar 2004 12:31:58 ERROR] - Error rendering Velocity template: ** layouts/psf.vm: Unable to find resource 'lay

Role Updation Error

2004-03-15 Thread Nagesh Mittal
hi, I am using Jetspeed 1.4-b4 in my portal application. When I try to update the roles for a user, I get the following exception: [02 Mar 2004 07:00:47 ERROR] - Failed update role+permission: java.lang.IndexOutOfBoundsException: Index: 3, Size: 3 Any idea about how to tackle this problem

general question user group role

2004-03-09 Thread secam secam
hi all, I'm new in tomcat, Is it possible in jetspeed to associate roles to a group? How can i say a user have got the role admin in a particular group and the role user in an other? Thanks, Regards, Secam - Yahoo! Mail : votre e

role-based psml

2004-03-01 Thread Alessandro La Rocca
In order to have a role-based psml, I defined the following in my.properties file: services.Profiler.newuser.template= while in jetspeedresource.properties I left the default values: services.Profiler.newuser.template=turbine services.Profiler.rolefallback=true The problem is that jetspeed

Re: Problem adding security role using customizer

2004-02-11 Thread Stijn de Witt
ducing the behaviour. -Stijn - Original Message - From: "Stijn de Witt" <[EMAIL PROTECTED]> To: "Jetspeed Users List" <[EMAIL PROTECTED]> Sent: Wednesday, February 11, 2004 11:43 AM Subject: Problem adding security role using customizer I am trying

Problem adding security role using customizer

2004-02-11 Thread Stijn de Witt
I am trying to add a Security Role using the Jetspeed Customizer, but I get the following error message: "Entity Name Already Exists. Please choose another unique, identifying name." Which was strange, because I chose 'manager' as rolename, which (AFAIK) doesn't exis

Anyone know bout Role profile merging

2004-02-04 Thread Naveen
Hi Any one know about role profile merging in jetspeed.i thried it but cannot understand it's use. I have set rolebased psml .i need one user (say A)under user Role to have role admin also to do administration.but if we give like this user A will have 2 roles .But the changes are not ge

RE: How to get member of a group or users who have a role?

2004-02-03 Thread S, VENKATESH
Hi, Please check TurbineRoleManagement java file from that u can get current user roles -Original Message- From: Paul Mansfield [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 4:55 PM To: Jetspeed Users List Subject: RE: How to get member of a group or users who have a role

RE: How to get member of a group or users who have a role?

2004-02-02 Thread Paul Mansfield
On Thu, 2004-01-22 at 11:09, Youssef Mohammed wrote: > unfortunately yes AFAIK > > > Is there a way in Jetspeed to get all the members of a group > > or users in > > a particular role. The only way I can see to do this is to iterate > > through every user and chec

RE: How to get Role name ?

2004-01-23 Thread Dmitry Sklyut
used velocity in a long while, but this is trivial operation with jsp custom tags for sure. Dmitry -Original Message- From: Prasad A Navalimath [mailto:[EMAIL PROTECTED] Sent: Friday, January 23, 2004 2:18 PM To: 'Jetspeed Users List'; 'Craig Connell' Subject: RE: How to g

RE: How to get Role name ?

2004-01-23 Thread Prasad A Navalimath
Thanks for reply :-) actually I was try to find a way in .vm files (velocity template files). So that while displaying the vm file, I will check whether the role is "admin" or "role1" or "role2", and decide whether to display the portlet content or hide part of it.

RE: How to get Role name ?

2004-01-23 Thread Craig Connell
Try: JetspeedSecurityService.getRole(user.getUserName()); That should work for you. Craig -Original Message- From: Prasad A Navalimath [mailto:[EMAIL PROTECTED] Sent: Friday, January 23, 2004 11:55 AM To: 'Jetspeed Users List' Subject: How to get Role name ? Import

How to get Role name ?

2004-01-23 Thread Prasad A Navalimath
Hi all, My requirement is : User1 -- who can customize its home page. This person role name is "role1" User2 -- This person should only be able to view pages same as home page of user1, ie., no customization links at all. This person role name "role2". How I am planning

RE: How to get member of a group or users who have a role?

2004-01-22 Thread Youssef Mohammed
unfortunately yes AFAIK > -Original Message- > From: Chamberlain James O. CONTR J9C998 > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 21, 2004 10:33 PM > To: [EMAIL PROTECTED] > Subject: How to get member of a group or users who have a role? > > > Is

How to get member of a group or users who have a role?

2004-01-21 Thread Chamberlain James O. CONTR J9C998
Is there a way in Jetspeed to get all the members of a group or users in a particular role. The only way I can see to do this is to iterate through every user and check whether or not they have the role or are a member of the group. Is this in fact the only way? Thanks for the help. Regards

Re: Getting a user's role in Velocity

2004-01-09 Thread Stuart Belden
Also see the "P U L L S E R V I C E" section of TurbineResources.properties; it has a list of all the name/classes put into the Velocity context by default. >>> [EMAIL PROTECTED] 01/09/04 01:24AM >>> Is there a way to test if a user is in a role in a veloci

RE: Getting a user's role in Velocity

2004-01-09 Thread Pernoud Aurelien
For JSP you can give it a try, but most of the developments are first done in velocity then ported to jsp... sometimes. JSP isn't as well updated I think. Aurelien Fletcher, Boyd C. J9C534 a écrit : > ok thanks. It seems to me that the JetspeedSecurity class > should have been exposed as a vel

RE: Getting a user's role in Velocity

2004-01-09 Thread Fletcher, Boyd C. J9C534
mailto:[EMAIL PROTECTED] > Sent: Friday, January 09, 2004 3:01 AM > To: Jetspeed Users List > Subject: RE: Getting a user's role in Velocity > > A way to do it would be to use an aplication tool, and then > define it in js.pr : > > tool.request.mytool=com.mycompany.mya

RE: Getting a user's role in Velocity

2004-01-09 Thread Pernoud Aurelien
JetspeedSecurity.hasRole(username,rolename); } ... See org.apache.jetspeed.util.template.JetspeedTool for example. Aurelien Fletcher, Boyd C. J9C534 a écrit : > Is there a way to test if a user is in a role in a velocity template? > > something like hasRole(username,rolename). >

Getting a user's role in Velocity

2004-01-09 Thread Fletcher, Boyd C. J9C534
Is there a way to test if a user is in a role in a velocity template? something like hasRole(username,rolename). Also is there a list of the functions and data structures availbale to Velocity? I.e. the $!user thanks, boyd

Can't ADD user,group, role in Jetspeed/LDAP

2003-12-12 Thread Tao Wang
Hello, I just finished the configuration of jetspeed and ldap, it works great except in the admin user, group, role, etc. browser, I can modify, remove entries, but I can't add new entries. I am not sure if it is made that way or is there anything that I need to configure further. I can&#

Forcing role based profile after login

2003-11-09 Thread Alex Kadyshevich
Hi all, I thought it would be a matter of configuration, but I am struggling to figure out how to do it without Jetspeed generating user profile based on role profile. I have a role with layout defined in a psml file. I create a new user and assign it this single role. When new user logs in

Re: Please help with role based PSML usage

2003-11-07 Thread akadyshevich
you may try deleting it. I > think the way the profiler works, it will pick up user-based psml > FIRST, and then look for role-based psml if no user psml exists. If in JetspeedResource.properties automatic.logout.save = true, when this new user logs out, new psml is created for the user

Re: Please help with role based PSML usage

2003-11-07 Thread Stuart Belden
then look for role-based psml if no user psml exists. Your initial form submit action doesn't get called because it's calling a portlet that, at the time, doesn't exist in Jetspeed's mind. It seems counterintuitive, but I believe that's the case. >>>

Please help with role based PSML usage

2003-11-06 Thread ALEXANDER KADYSHEVICH
Hello, I know it is a pretty long post, but I really tried to compress it to bare minimum. We would like to implement role based security and layout for our portal. We auto generate xreg and psml files based on information defined in a document of a certain structure, with base Portlet IDs in

Trouble with choosing best strategy for role-merging

2003-10-24 Thread Evan Bottcher
when the user is created. Customisations on the portlets themselves are stored in that user's PSML. Customisation of the pane layout is prevented using security-refs. Display of panes can be restricted by role also by using security-refs. Problem: - any change to the layout in the template

RE: Building dynamic link for correct role

2003-10-14 Thread Boyd, David
I have tried the dynamicuri taglib and that does not seem to work. What I ended up doing was using the portletlink tablib and give it the following that creates a which Jetspeed will use to search for the give psml starting in the user directory and working its way into the role and then the

Re: Building dynamic link for correct role

2003-10-14 Thread
03 09:37AM >>> > How does one build a link correctly to a given psml based on role > dynamically? > > > > I have tried to make used of the following tag: jetspeed:link, > jetspeed:portletlink and jetspeed:dynamicUri, but none of them build a link > that contains role/m

Re: Building dynamic link for correct role

2003-10-13 Thread Stuart Belden
$jslink.getRole("role1") will do this for you in velocity; I don't know if the same tool exists for the jsp side of things. >>> [EMAIL PROTECTED] 10/13/03 09:37AM >>> How does one build a link correctly to a given psml based on role dynamically? I have tr

Building dynamic link for correct role

2003-10-13 Thread Boyd, David
How does one build a link correctly to a given psml based on role dynamically? I have tried to make used of the following tag: jetspeed:link, jetspeed:portletlink and jetspeed:dynamicUri, but none of them build a link that contains role/myrole for the given psml file. The psml file is

Role Management Bug/Todo?

2003-10-06 Thread Tâm Huynh
Hi, I've played around with the role management features and ran into a problem. These are the steps I took: 1. login as admin 2. choose the 'Security Role Browser' and add a new role 'test' 3. choose the 'User Browser' and assign the role 'test' t

Re: Need to get Role of the Logged In User.

2003-09-23 Thread Stuart Belden
this'll do it: JetspeedSecurity.getRoles(username); >>> [EMAIL PROTECTED] 09/18/03 09:50PM >>> Hello All, I need to know the role of the logged in User in my JSP to do some processing. How to do it? I tried the following code but it returned Null. Run

Need to get Role of the Logged In User.

2003-09-18 Thread Sunil Sheshadri
Hello All, I need to know the role of the logged in User in my JSP to do some processing. How to do it? I tried the following code but it returned Null. Rundata rundata = (Rundata)request.getAttribute("rundata"); // this returned properly AccessControlList acl = rundata.getACL()

role merging question

2003-07-14 Thread Chamberlain James O. CONTR J9C998
Is it possible to lockdown the user's default psml that is generated by the role merge? I have a user that is a member of multiple roles, I want that user to get the tabbed panes for each role. I don't want the user to be able to edit the default psml and remove the role specific tabs

Re: role merging and pane ids

2003-06-16 Thread David Sean Taylor
On Wednesday, June 11, 2003, at 07:30 AM, matt kampmeier wrote: I have implemented PSML role merging so users only see tabs for the roles that they are associated with. For example, a person with "user" and "player" roles will login and see "User Home" and "

role merging and pane ids

2003-06-11 Thread matt kampmeier
I have implemented PSML role merging so users only see tabs for the roles that they are associated with. For example, a person with "user" and "player" roles will login and see "User Home" and "Player Home" high level tabs. It appears that unique pane ids

Problems With Role Updates

2003-03-28 Thread Kunchakarra Prasad
mutiple roles to a single user. The exact problem is as follows: When I try to assign a user to more than one single role, the last role gets saved. i.e at any time only one single role is being saved. When I tried to debug the underying problem noticed the following: Usergrouprole attribute is

RE: PSML user group role : how to use Group?

2003-03-12 Thread Weaver, Scott
ed at the Turbine list, so all these things may have been/will be in addressed Turbine 3.x. Just some turbine security history for ya' ;) -scott > -Original Message- > From: Santiago Gala [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2003 11:44 AM > To: Jets

Re: PSML user group role : how to use Group?

2003-03-12 Thread Santiago Gala
access". This is why names are so dangerous. Actually the tomcat groups can be mapped as turbine roles, i.e. sets of permissions. Users with the same role in the same turbine group will have the same permissions. There is no way in Turbine-2 to express "groups of users", but you

Re: PSML user group role : how to use Group?

2003-03-12 Thread Gabriel Santonja
> Hi Gabriel, Hi Scott, > > This is because the default Jetspeed security implementation is still > attached at the hip to turbine. So, there are some remnants of that > association that still remain. If I uderstand the groups are used only to keep some Compatibility with Turbine?. > The def

RE: PSML user group role : how to use Group?

2003-03-12 Thread Weaver, Scott
Wednesday, March 12, 2003 10:01 AM > To: jetspeed user > Subject: PSML user group role : how to use Group? > > Hi, > > I am very disappointed because i can't use the group information in PSML > browser ( 1.4 cvs version) > Groups are they really used in Jetspeed?, whe

PSML user group role : how to use Group?

2003-03-12 Thread Gabriel Santonja
Hi, I am very disappointed because i can't use the group information in PSML browser ( 1.4 cvs version) Groups are they really used in Jetspeed?, where ?. The only thing i read about groups is that role and group are "The user/group association isn't used specifically by the d

Change default.psml for user based on role.

2003-02-18 Thread Sunil Sheshadri
(role1.psml)default.psml of turbine. Now later down the line when we change is role to Role2 we need to show different set of psml which is specific to that Role. How to do that? Can we automatically change the psml file for the user when ever the role changes? Now what's happening is that as use

Role based psml - making panes not show up based on security

2003-01-14 Thread Stuart Belden
We're using Jetspeed b1 and Role based security. Here's my situation: Joe User signs up on our site and is assigned the "Valid" Role. The Tab Pane layout psml for that role, default.psml, has a reference to CMSAdmin.psml which has a security-ref that requires the C

Re: Generating Role-based Profiles? (was Re: Role of psml role pages)

2003-01-10 Thread Gary Lawrence Murphy
>>>>> "M" == Mark Orciuch <[EMAIL PROTECTED]> writes: M> Is this what you want? # # Profiler Role-based merge fallback M> options # # When rolefallback is true and rolemerge is true, M> new user's profile will # be an aggregate of p

RE: Generating Role-based Profiles? (was Re: Role of psml role pages)

2003-01-08 Thread Mark Orciuch
Is this what you want? # # Profiler Role-based merge fallback options # # When rolefallback is true and rolemerge is true, new user's profile will # be an aggregate of psml from each role the user is part of. services.Profiler.rolemerge=true # Controller to use in merged pr

Re: Generating Role-based Profiles? (was Re: Role of psml role pages)

2003-01-07 Thread Mike Davis
users clone the default.psml files for the role the new users are placed into, that's great... BUT, if that new user then customizes somthing, it changes the default.psml file for that role, effecting all the other users under that role, not so great. BTW, Jetspeed doesn't seem to create a

  1   2   >