Santiago,
There are multiple solutions to this common requirement. The easiest is
probably to implement your own SecurityValve. Just make sure you use the
existing o/a/j/security.impl.SecurityValveImpl.java as a template. Then
there is JAAS...
Scott can probably comment in more detail.
Randy
Note: this question is for J2...
Hi, i want to change the left navigation menu.
and add two groups of links (to pages in the portal) , i want all the
users see the first groups and the second single group appears for the non
registered user.
hace a series of problems:
1- The list of links
Bob,
I think you simply need to infuse your web app manually. Take a look at
the edits to web.xml, (and other files and/or injections of new files
into the webapp), that are made to your webapp when you deploy. Then,
make sure that you perform these changes TEMPORARILY so that the web app
get
Frank,
I have heard there were some issues that cropped up right around the M2
release regarding titles. How are you defining them? In portlet.xml?
Randy
Frank Villarreal wrote:
To all:
Is it just me, or did the portlet title functionality get bugged out between
release M1 and M2? I upgraded
Frank,
I am not looking at the J2 source at the moment, so the comments below
may be a slight bit off... they are close in any case :)
Frank Villarreal wrote:
Here's another question(s):
what do the following rule criterion request types signify?
1) navigation
generalized profile type used to
A few clarifications:
2) group.user.role
profile one of user, role, or group, (user is almost always defined
and normally is chosen).
-- group or role are selected from request parameters by the same name,
otherwise user is selected.
3) path.session
appends the request path to the profiling
-Original Message-
From: Randy Watler [mailto:[EMAIL PROTECTED]
Sent: Friday, April 08, 2005 10:48 AM
To: Jetspeed Users List
Subject: Re: J2M2 Profiling Rules
Frank,
I am not looking at the J2 source at the moment, so the comments below
may be a slight bit off... they are close in any case
Mike R. wrote:
2 more J2 configuration questions (fast and easy, I promise!)
1. Is the jetspeed.xml file still used? It defines the security
realm and JDBC connection parms
Yes
2. What is the mechanism used to point to the PSML file? Can I assume that I
just modify default.psml and all is
Rajesh,
I pulled a fresh copy of everything yesterday and did not have this
problem. Is it possible that you have a mixture of an M1 binary install
and a CVS pull?
Randy
Rajesh Jain wrote:
I got the cvs src from Main Branch, and seems
there is a issue when I run JetSpeed-2 under
Tomcat 5.x
This
Marina,
3. jetspeed.xml
there was no jetspeed.xml in the
=TOMCAT_HOME/conf/Catalina/localhost dir
The only jetspeed.xml files in the J2-project-home
directory that I found were:
maven-plugin/target/classes/plugin-resources/jetspeed.xml
portal/src/resources/jetspeed.xml
Should I manually
Fredy:
A couple of things: J2 is not Tomcat 5.5 ready yet, (5.0 is OK), look for
the Getting Started section on the J2 website,
(http://portals.apache.org/jetspeed-2/getting-started.html), and check out
the wiki. I am running on RedHat Linux, Java 1.5, and Tomcat 5.0 in
development and
Marina,
I know you probably have most of this down cold, but please verify:
- you have a copy of mysql-connector-java-3.0.16-ga-bin.jar in
TOMCAT_HOME/shared/lib.
- that the com.mysql.jdbc.Driver class exists in
mysql-connector-java-3.0.16-ga-bin.jar.
- if you are manually copying the
Frank,
Try using a new fragment id. JS2 does cache certain portlet info per
fragment ids... a long standing issue for sure. Many of us are simply in
the habit of generating new ids for edited pages and fragments when
manually editing PSML.
Randy
FYI J2 Developers:
I wanted to deploy a new
Craig,
I have seen this problem with the login portlet when the security.xml
context descriptor is not deployed correctly. Please make sure that it is
located in conf/Catalina/localhost. If everything is in place, you might
need to try restarting tomcat several times and waiting for the
Marina,
These settings have always worked for me, (note that I do not set the
ojb.platform property):
org.apache.jetspeed.test.jdbc.drivers.path=${org.apache.jetspeed.server.shared}/mysql-connector-java-3.0.16.jar
org.apache.jetspeed.test.database.default.name=mysql
Amit,
There are two security implementations to choose between to control access
to folders and pages in the J2 portal. Both solutions allow specification
by group and role in addition to user principals. I am not sure exactly
what you are using the 20-25 permissions to control, but I am guessing
Frank,
There are many nice ways to accomplish this with J2 using the Profiler.
Custom home pages per user, group, or role are easily supported. One can
also select different home pages using different profiling rules. Once
you get used to using the profiler, it is fairly powerful and flexible.
: Randy Watler [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 01, 2005 11:57 AM
To: Jetspeed Users List
Subject: Re: Default Home Pages
Frank,
There are many nice ways to accomplish this with J2 using the Profiler.
Custom home pages per user, group, or role are easily supported. One can
also select
Frank,
This is an issue I have known about but i have not gotten around to fixing
yet. I just modify my custom portlet decorator like this:
#foreach ($action in $actions)
#set($actionImage = $action.Link)
#if($actionImage.startsWith(content/images/))
Scott,
I think this can be addressed in the layout decorators/macros if you would
like a quick workaround, (it invokes a method in the JetspeedPowerTool
there to convert relative urls into absolute ones: you could use your own
constants or macros there).
Otherwise, I have added it to my todo
customizer an use
it/configure it like a layout type?
Wouldn't it be nice to have an option to disable horizontal movement
of portlets?
Joachim
Randy Watler schrieb:
Carlos,
For J2, you might want to try using the jetspeed::VelocityOneColumn
layout type in your page.
Randy
Carlos Ortiz wrote
if i should try anything else.
Carlos.
Randy Watler [EMAIL PROTECTED] said:
Joachim,
The J2 contributers are planning to pull out the layout portlets into
separate portlet apps. The Customizer is part of these portlets.
One can imagine how that might facilitate custom layout portlets
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
Thilina,
Can you clarify J2/J1 on your posts?
In J2, the primary consumer of the user/role/group definitions are the
Profiler and PageManager components. As you might of guessed, these select
pages to be displayed in the portal given a request url. So, instead of
granting access to individual
Xavier,
If you are speaking of J2, try META_INF/tomcat-context.xml.
Randy
-Original Message-
From: Xavier Lawrence
To: Jetspeed Users List
Sent: 1/20/05 3:13 AM
Subject: Deployment of context.xml in META-INF not done
Hello,
I am using a context.xml file in my wars. It is naturally
Carlos,
In an individual portlet or globally?
Randy
Carlos Ortiz wrote:
Hi all,
I'm just browsing through jetspeed2, is there anyway that I can disable the
max/min buttons or configure them not to be shown?
Thanks,
Carlos.
-
To
Mike,
There is a recent J2 M1 binary release and an installer.
Well, I finally got the binary installer for J2 M1 finished, here is a
temporary link: http://www.binary-designs.net/downloads.html. The
download takes a little time to start but fairly quick once it does.
The only requirements are
Marcel,
This is probably the only significant error:
Marcel Dullaart wrote:
After a bit of investigation, it came down to the VC macro
$!jetspeed.include($myF) on line 66 in
/WEB-INF/decorations/portlet/html/tigris/decorator.vm, which doesn't
result in any output.
The rest of the messages are
Bharat,
You need to configure the
org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManager
bean in jetspeed-spring.xml to use the WeblogicManager instead of the
TomcatManager class, (from the same package). The WeblogicManager class
takes no constructor arguments, (see the
like I have to move weblogic connection class to the webapp.
Is there any jetspeed or spring connection pool framework I can use
instead?
thanks
-Original Message-
From: Randy Watler [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 11, 2005 3:50 PM
To: Jetspeed Users List
Subject: Re
. jetspeed.xml will only work with Tomcat.
is there another place to specify connection class?
Thanks
-Original Message-
From: Randy Watler [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 11, 2005 4:25 PM
To: Jetspeed Users List
Subject: Re: jetspeed 2 on Weblogic 8.1 Sp4
Bharat,
I assume you
Carlos,
I too use MSSQL in production and have ported J2 M1 successfully.
However, there are some issues with the security-schema.sql script for
MSSQL involving multiple cascading delete paths on foreign keys. I am
still working on a solution for M2. I have not used the M1 installer
yet, so I
-portal/ as the root
directory, but my profiling rule does not seem to
accomplish this.
I hope I'm being clear :)
And thanks a lot for looking into this!
Marina
--- Randy Watler [EMAIL PROTECTED] wrote:
Marina,
Using the Profiler effectively is more in my
court,
so let's see if I
Krish,
As far as the manager app port goes that can be configured to use your port,
(2925), instead of 8080. See the release notes or getting started pages on
the web site if you pulled from CVS. It is our experience that J2 will
operate successfully with the PAM errors, but you may have to
Marina,
David is the Profiler Master, so he is much more qualified to explain its
configuration and inner workings. The source is in components/profiler.
See comments below...
It seems that profiling rules are assigned to the
users based on the user names.
Yes.
At least this is what I
see
. And if you updated J2 from CVS, you should run
'maven quickStart' once at the build time, and then
start the DB with the 'maven start.production.server'
all subsequent times you start J2.
I may be completely off here...
Thanks for your help!
Marina
--- Randy Watler mailto:[EMAIL PROTECTED] [EMAIL
Marina,
The last time I had these kinds of problems I was using an out of date
database and/or sql files. What version of J2 are you running? Have you
run quickStart recently?
Randy
Marina wrote:
Hi,
I can't seem to login as the 'jetspeed' user
anymore...
First time I logged in - I was
Doug:
Doug Schnelzer wrote:
Just wanted to say thanks and let you know that I am implementing a number
of scenarios to fully understand what is going on, but everything that you
have explained thus far is working well for me.
Good... but you never know when I might mess up or a bug might crop
Chris,
I have seen this problem when jetspeed.xml is not found or read correctly
from conf/Catalina/localhost. Please verify that the jetspeed webapp is
being initialized correctly.
Look for some line like this in catalina.out
INFO: Processing Context configuration file URL
Amit,
J2 demo site user/passwords are:
admin/admin
user/user
manager/manager
tomcat/tomcat
jetspeed/jetspeed
Randy
-Original Message-
From: Amit Soni
To: [EMAIL PROTECTED]
Sent: 12/18/04 4:27 AM
Subject: jetspeed-2 problem
Hi all,
I m installing jetspeed-2 sucessfully but when i m
or
/_user/manager.
You both probably already figured this out, but I thought
I'd share just in case!
Randy
-Original Message-
From: Randy Watler
To: Jetspeed Users List
Sent: 12/16/04 10:53 PM
Subject: Re: J2 Profiler
Marina,
Feedback inline below...
Marina wrote:
When user
Doug Schnelzer wrote:
Randy,
Thanks for the guidance. Putting the login portlet in a plain page in the
guest directory and protecting everything else works well. In the future,
it would be nice to dynamically show/hide portlets on a page based on a
user's role.
It is definitely under
Marina,
Feedback inline below...
Marina wrote:
When user is not logged in, he is a guest user by
default.
According to the j1 profiling rule (???), pages for
the guest user should be taken from the
\pages\_user\guest\ directory.
However, since this directory does not exist, a
default
-admin,
dce-admin-roleorg.apache.jetspeed.security.SecurityException:
The role does not exist. dce-admin-role
*** New Full Path: /role/dce-admin-role
Any idea why this is not working?
Thanks,
Marina
--- Randy Watler [EMAIL PROTECTED] wrote:
Marina,
Thanks for using the jetspeed user list
Ate Douma wrote:
Randy Watler wrote:
Doug,
Portlet level security constraints are apparently the responsibility
of the portlet writer to implement, so the portal and portlet
container will always display the portlet. We just received
clarification on this from the pluto mail list:
http
Marina,
There you have it, (thanks David).
It is a simple matter to add users, roles, groups, etc. directly to the
DB in the interim. See one of the following scripts:
CVS - src/sql/populate-userinfo-for-default-psml.sql
CVS - src/sql/db name/populate-userinfo-for-default-psml.sql
M1 -
Nope:
http://www.apache.org/dist/portals/jetspeed-2/JETSPEED-2.0-M1-README.txt
Note that older versions of MySQL, as in 3.X, may not work Certainly,
4.1 has been tested and has been verified on both windows and lunix
platforms!
Randy
News Hunter wrote:
how can i use mysql with j2m1? must i
Amit,
Try: http://wiki.apache.org/portals/Jetspeed2/JBossHowTo
...and search the archives.
Randy
-Original Message-
From: Amit Soni
To: [EMAIL PROTECTED]
Sent: 12/9/04 11:23 PM
Subject: jetspeed-2 deploy problem
Hi all,
Here i want to deploy jetspeed-2 but it gives me some problem.
Marina,
Thanks for using the jetspeed user list!
Comments below.
Randy
-Original Message-
From: Marina
To: 'Jetspeed Users List '
Sent: 12/6/04 5:06 PM
Subject: RE: Jetspeed2 M1 security setup (was: jetspeed-newbie
Roles-Groups-Users)
Hi,
I've successfully built and installed J2 M1
profiler
directory helped somewhat but now I have even more
questions than before :)
First, I looked at the jetspeed.xml - and I see
--- Randy Watler [EMAIL PROTECTED] wrote:
Marina,
There are two different Roles/Groups/Users domains
in effect: Tomcat's
and Jetspeed's. Jetspeed has its own
Marina,
Yes, many on the dev team have J2 in production or in prototypes. Comments
below.
What I meant was:
I see there is some relationship between directory
names under the WEB-INF/pages directory and user
like:
WEB-INF/pages/_role
manager/
user/
WEB-INF/pages/_user
user/
So, for
for such a long e-mail,
thanks!
Marina
--- Randy Watler [EMAIL PROTECTED] wrote:
MP,
I am more or less responsible for the J2 profiling
and security features.
There is some documentation in the J2 design-docs
under the profiler
directory, (pull from CVS).
Also the demo configuration for user/user
to the list.
HTH,
Randy Watler
-Original Message-
From: M P
To: Jetspeed Users List
Sent: 11/27/04 12:10 PM
Subject: Re: jetspeed-newbie Roles-Groups-Users
Hi, David,
The documentation you mentioned is for Jetspeed 1. Is
it also true for Jetspeed2? If not - could you point
me to where I
[EMAIL PROTECTED] wrote:
Hi Guys,
I have also had the similar problem under linux and received NO help
from this list and as a result have shelved using Jetspeed 2
Paul
Paul,
I am currently running successfully on Tomcat/Linux and have been for
some time. Can you resend your last post to the
://wiki.apache.org/portals/Jetspeed2/PrefsClassloaderIssuesAndSdk14
Vin Conjee wrote:
Randy,
I am using JDK 1.4.1_02-b06.
Thanks
-Vin
--- Randy Watler [EMAIL PROTECTED] wrote:
Vin,
What version of the JDK are you using?
There are known issues with prefs and early 1.4
versions.
Randy
Thilina,
If you are using J1, there is a WebContentPortlet that you'll have to
use since the portlet needs to proxy the intranet to the internet.
I and other dev team members are going to be developing an analog for J2
which currently lacks this capability.
HTH,
Randy
-Original
Thilina,
Sorry, I got the name(s) of the J1 portlets wrong.
Try these:
WebPagePortlet
WebPagePortlet2
WebClippingPortlet
Randy
-Original Message-
From: Randy Watler
To: 'JetSpeed '
Sent: 11/17/04 10:29 PM
Subject: RE: IFrame portlet
Thilina,
If you are using J1
Nafise,
I have seen this from time to time. Unfortunately, I have not figured out
what causes it. I suspect that it occurs because of permissions problems, (I
run on Linux), or due to some problem with repeated allBuild invocations
with out an allClean. Of course, it is just as likely that it has
Ate/David:
I am now using the code below successfully in SecurityValveImpl.java.
Randy
// initialize/validate security subject
// access request user principal if defined or default
// to profiler anonymous user
Principal userPrincipal = request.getRequest().getUserPrincipal();
if
funcationality.
Randy Watler
-Original Message-
From: niksa_os
To: Jetspeed Users List
Sent: 11/6/04 1:26 AM
Subject: Re: Strategy for role based security
J2 now supports a variety of role/group profiling features and is
having
role based access security grafted in today.
Is it J2
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
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 released soon, so if you
Michael,
Michael McElligott wrote:
Hi Randy,
The error appears to be in importing some stuff from the commons codec
project. Specifically, the error (along with 25 other errors of a
similar nature) is listed below.
Is this from a current CVS HEAD pull? If so, please send me your
complete build
Michael,
What problem did you encounter? There is a lot of activity in the
project as it nears release, but everyone strives to avoid breaking
early adopters.
Let us know!
Randy Watler
Michael McElligott wrote:
Hi Elisabeth,
I had a working build for a few days from the head but I foolishly
Ludovic,
Search the archives for a discussion about the J2 plugin.
In general, the J2 approach is different. Unless you need to extend J2
itself, you should be able to simply deploy JSR-168 portlet webapps
directly into the J2 install. See the Wiki.
PSML, decorator, and template deployers are
that you know
that! Thanks for the input,
Randy Watler
-Original Message-
From: [EMAIL PROTECTED]
To: Jetspeed Users List
Sent: 9/24/04 7:05 AM
Subject: Re: Some observations on jetspeed-2 (cont)
Just to confirm, exact same problems with Tomcat 4.28.
Tried running under Solaris, fails
Watler
Shen, Yi wrote:
Hi,
I just built and deployed Jetspeed2. It's running under Tomcat 5.
I tried to log in with turbine, admin, etc... but all failed.
Any clue?
Thanks!
Yi Shen
-
To unsubscribe, e-mail: [EMAIL PROTECTED
Shen,
I just pulled from CVS and this problem has been addressed. You should
be able to login using:
user/user, manager/manager, ... etc.
Randy Watler
Randy Watler wrote:
Shen,
Known issue if you are trapped in anon user.
Try hacking
applications/security/src/webapps/WEB-INF/security/login
me know if there is a fix, a better workaround, or if I can help
fix this in any way.
Randy Watler
that this is the problem, should I go ahead and add it, (does anyone have
samples handy)?
Out of curiosity, it appears that the spring bean configuration and groovy
script appear to be doing much the same thing with these objects... is that
intentional?
Thanks,
Randy Watler
as a separate layout portlet that could be nested
in any layout portlet?
Thanks, any general hints/comments would be appreciated!
Randy Watler
technique to optimize
this kind of partial refresh. In any case, we just want to render the
focused portlet. Do we need IFrames for this with jetspeed?
Randy Watler
a login capability to the layout decorations instead
of using the security portlet. This seems simple enough, but the above
problem has derailed me at the moment. Thoughts?
Randy Watler
-
To unsubscribe, e-mail: [EMAIL PROTECTED
prefers. David?
Randy Watler
-Original Message-
From: Scott T. Weaver
To: Jetspeed Users List
Sent: 8/12/04 7:35 AM
Subject: Re: JetSpeed2 Development Logistics
Hi Randy,
Actually, the Jetspeed 2 maven plugin actually does have somewhat of a
merging capability. Just create a new directory
/deployment should be done with the maven plugin merge
as outlined by Scott?
Just feeling around in the dark guys.. thanks for the patience!
Randy Watler
Jetspeed2 product trees/sandbox.
Thanks guys,
Randy Watler
the
/portal directories as a starting point and use the jetspeed2:build.portal
goal to merge/build jetspeed2 support into my customized version? Is it safe
to say that one should not edit the contents of /portal?
Just trying to get started on the right foot!
Randy Watler
I get it figured out, I will add it to the Wiki for you if you'd like
so that you and others can help me get other newbies off the ground with
jetspeed2.
Thanks again,
Randy Watler
-Original Message-
From: David Sean Taylor
To: Jetspeed Users List
Sent: 8/11/04 1:51 AM
Subject: Re
to over time will eventually find
the balanced coverage we all need.
Thanks for the encouragement,
Randy Watler
Philip Saville wrote:
Hi Randy,
If you're thinking of offering input for the Tutorial for Jetspeed 2, I
would like to offer a few comments about the Jetspeed 1.5 tutorial I
hope can
!
Thanks!
Randy Watler
Scott T. Weaver wrote:
Hi Randy,
Jetspeed 1 and 2 are quite different animals. Jetspeed 1's portlets
are developed using a proprietary approach unique to Jetspeed 1. All
Jetspeed 1 portlets are served up directly from Jetspeed 1's webapp
i.e. they are not individual
Scott,
So, with the following goals in mind...
1. Create a tutorial on getting started with Jetspeed2,
2. ultimately deploy on JetSpeed2, and
3. bootstrap most efficiently now in the current Jetspeed 1.5/2 dichotomy.
...what approach do you suggest I take then?
Randy Watler
Scott T. Weaver wrote
to Jetspeed 2?
Randy Watler
Finali Corporation
82 matches
Mail list logo