we did it by using a custom:
org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor
which determines the users theme and provides it into the request:
...
|
serverInvocation.getServerContext().getClientRequest().setAttribute(ATTR_VIEW_THEME,
theme);
| ...
and a custom:
Have you tried to override getUsername() in your login module?
Somewhat like:
return super.getUsername().toLowerCase();
If that doesn't work, a javascript in login.jsp onSubmit() should be a dirty
option as well?
View the original post :
web.xml is not meant, but jboss-web.xml instead - just create one. It resides
in WEB-INF too.
Try this one:?xml version=1.0 encoding=UTF-8?
| portlet-app
| portlet
| portlet-nameUserAdminPortlet/portlet-name
| transaction
| trans-attributeRequired/trans-attribute
|
sorry, name it: jboss-portlet.xml
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4181496#4181496
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4181496
___
jboss-user mailing list
try removing the jar files (as mentioned below) from your deployment file.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4181447#4181447
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4181447
you need to have a portlet/transaction definition in the jboss-portlet.xml (as
mentioned abaove) in which the 'portlet-name' corresponds to the name defined
in the portet.xml
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4181571#4181571
Reply to the post :
is there an 's' missing?
https://127.0.0.1:8443/portal
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4181572#4181572
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4181572
___
renderRequest.getControllerContext().getServerInvocation().getServerContext().getClientRequest()http://docs.jboss.com/jbportal/v2.6.4/javadoc/org/jboss/portlet/JBossRenderRequest.html
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4170979#4170979
Reply to the
what is the preferred way of accessing an ejb within a war, which is deployed
on the same container?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4151413#4151413
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4151413
Hi Ann,
at least in 2.6.3 there is no support for it in the portal core.
The last thing I recognized is the discussion of this topic by the portal team:
http://www.jboss.com/index.html?module=bbop=viewtopict=112843
Nevertheless, because we needed that too prior to that discussion, I
implemented
That's quite interesting to me what you are expected to do, because I had to
manage a documentum migration onto a solaris cluster in the past (I guess in
2001).
Your login within the documentum portlet provides a session on the documentum
side, what you need to have is a session on the portal
Yes, I can confirm what Thomas said.
In portal 2.4 we started that way by creating a portlet providing different
views of the navigation tree (primary and secondary navigation, different types
of overviews and a sitemap).
In portal 2.6 we switched to a custom pageCustomizer to get/enhance
http://wiki.jboss.org/wiki/Wiki.jsp?page=Identity_API_in_JBoss_Portal_2_6
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4125387#4125387
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4125387
as far as I have seen, the PortalCommandFactory intercepts each request, may be
it's just a matter of remembering the desired portal decision?
If not, which part of the url changes (server name?)?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4111938#4111938
Which AS version do you use and what are the '...previous warnings...' as
mentioned in the stacktrace?
I had a similar problem, because switching from local to XA datasources didn't
work, the preliminary solution is described in:
http://wiki.jboss.org/wiki/Wiki.jsp?page=Multiple1PC
If that
???HttpServletRequest req =
request.getServerInvocation().getServerContext().getClientRequest();
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4111204#4111204
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4111204
sorry, I copied the wrong line, I meant:
HttpServletRequest req =
request.getControllerContext().getServerInvocation().getServerContext().getClientRequest();
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4111205#4111205
Reply to the post :
jboss-portal.sar/META-INF/jboss-service.xml:
change:
...
| depends
| optional-attribute-name=CommandFactory
|
proxy-type=attributeportal:commandFactory=DefaultPortal/depends
| ...
to:
| depends
| optional-attribute-name=CommandFactory
|
yes, yes, yes ;-)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4110842#4110842
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4110842
___
jboss-user mailing list
In your PortalCommandFactory you have to implement the method:
public ControllerCommand doMapping(ControllerContext controllerContext,
ServerInvocation invocation, String host, String contextPath, String
requestPath)
|
it returns instances of
anonymous wrote : Isn't it possible to chage the default login mechanism to
redirekt to antother portal (redirect to a desired portal page) after logging
in ?
Do you need to redirect to a different portal or page within a portal?
Have you thought about using portal permissions for hiding
First, I don't know, if there's a better approach for your scenario, because
you need the selection just after login - the PortalCommandFactory is called
frequently...
I extended:org.jboss.portal.core.model.portal.DefaultPortalCommandFactory
for translating symbolic page names into real page
Jorwo wrote : Regarding Apache, I was wondering if anyone was using it as the
primary web server, with Tomcat/JB Portal behind it.
? http://www.jboss.com/index.html?module=bbop=viewtopict=122584
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4108779#4108779
I got at least a workaround:
Portlets:
Needed to be derived from:
org.jboss.portlet.JBossPortlet
in order to access the objects by:
JBossRenderRequest.getControllerContext().getServerInvocation().getServerContext().getClientRequest().getSession().getAttribute(attributeName);
Custom
a more general solution is to introduce a new page property which then is
evaluated within the navigation rendering.
Our use case for this is:
preventing public pages (i.e. role 'unchecked') from being displayed for named
users
We use the property solution as mentioned above.
View the
We need to pass data from a page (declared property) to a ThemeTagHandler.
In portal 2.4.1 it works by extracting the declared property in a portlet
context , passing it via:
PortletRequest.getPortletSession().setAttribute(attributeName, attributeValue,
PortletSession.APPLICATION_SCOPE)
and
I would recommend to use mod_rewrite in conjunction with mod_proxy, which
provide more flexibility for integration of content in the namespace of the
virtual host. In order to reduce maintenance effort should think about using
include files like in the example below.
Do you really need to use
to answer as short as possible? ...yes!
Nearly one year ago we compared JBP against jetspeed2 and liferay on behalf of
our customer. Disappointed about liferays design and (professional support -
they didn't find answer within one month) in contrast to the clearly structured
design of JBP we
The jar file is located in the directory:
thirdparty/jboss-portal/modules/identity/lib
In order to extend the identity api, does anybody know where the sources are?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4096559#4096559
Reply to the post :
I cannot believe that they have hard-coded links...
If you use mod_proxy, have you configured:
ProxyPreserveHost On
That should replace the name and port according to your apache configuration
(at least it's working with Apache 2.0.x and JBP 2.4).
View the original post :
For a first step (or low budget integration, which is a good argument for
business deciders), you may think of a simple URL integration within an iframe.
Of course, this requires that the application to be integrated is already
integrated in some kind of central identity management (e.g. header
Since your in a jsp, you cannot access the portlet session - in the meaning of
the portlets individual session.
We do it the other way around:
The object is written to the session with visibility
PortletSession.APPLICATION_SCOPE, which means that not only other porlets can
access that
we have a solution based on portal 2.4 / AS 4.0.5...
...luckily live, since yesterday evening...
In portal 2.4.1 (and hopefully in 2.6 too) you have to differentiate between
page localization and page identification.
The name you edit in the management portlet is used for building the portal
looking at the sources I would do:
1. extend org.jboss.portal.core.model.portal.DefaultPortalCommandFactory
2. define 1. as mbean in jboss-service.xml of portal-core-sar similar to
DefaultPortalCommandFactory but a different name and
3. reference the name of 2. as CommandFactory of mbean
We have done something similar, i.e. used for whole portals:
1. Define a custom theme
2. Define additional regions in the theme's index.jsp according to your needs.
3. Provide styles in the theme's css files to match your layout (div-renderer?)
4. Assign the custom theme to your page(s)
View the
what is nesessary to integrate an own command mapper?
Do I have to re-compile the portal sources for this?
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4068184#4068184
Reply to the post :
AS 4.0.5, Portal 2.4.1:
When using a custom portal with a custom theme calling an invalid portal page
causes the portal to switch to the 'default' tab/page of the default portal.
Is it possible to intercept this processing to display a custom portal page?
Thanks for any hints in advance.
View
for portal 2.4 we needed the same...
One solution could be modifying: core/src/resources/portal-server-war/login.jsp
like:
%
| final String userIDHeaderAttribute = userID;
| String userIDHeaderValue = request.getHeader(userIDHeaderAttribute);
|
| if ((userIDHeaderValue != null)
since you are in a jsp, you can use:
response.sendRedirect(redirectURL);
http://tomcat.apache.org/tomcat-5.5-doc/servletapi/javax/servlet/http/HttpServletResponse.html#sendRedirect(java.lang.String)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4060427#4060427
In Portal 2.4 we did it by a portlet extending JBossPortlet, which is placed on
every page. This portlet renders either a ling or logout link. On logout you
can pass the redirect URL to JBossActionResponse.signOut(String).
May be 2.6 has a smarter solution for integrating this using the
May be it's based on the userCtxDN?
which is:
...,dc=fatwire.com
instead of:
...,dc=fatwire,dc=com
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4059748#4059748
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4059748
I have a solution, although it's somewhat like a hack...
- the page has been defined a 'declaredProperty', e.g. 'layout'
- the declaredProperty is retrieved within a portlet instance, which is placed
on every page, and set into the APPLICATION_SCOPE's session
- a custom ThemeTagHandler retrieves
Does anyone know, if it's pssobile to dynamically select a certain css file for
a page?
Thanks in advance for any hints.
Burkhard
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4056740#4056740
Reply to the post :
I've posted a solution, please take a look at:
http://jira.jboss.org/jira/browse/JBPORTAL-1293
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4055150#4055150
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055150
Which information do you want to share? I would expect, that this should be
about authentication and authorization only?
Take a look at:
http://labs.jboss.com/portal/jboo/?prjlist=false
if it's possible to introduce that - we are using a commercial solution
(Entrusts GetAccess).
If you
The information provided by RenderRequest.getRemoteUser is unique too, so if
you just intend to identify related data, why not using this? Of course, it's
not a number but this shouldn't matter.
Burkhard
View the original post :
Hi,
I know it's more a question related to jBoss AS but the portal is affected and
therefore I place the question here...
With jBoss AS 4.0.5 and Portal 2.4.1 the underlying Tomcat-Session seems to be
re-used for the sequence:
- anonymous portal access
| - login
| - named portal access
It's not unusual to have a web server in front of an application server,
therefore my thoughts about this topic:
Two ways are possible:
1. Integration as a reverse proxy (e.g. to localhost)
http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#forwardreverse
2. Integration via AJP
This depends on what you have (especially on the entitlement side) and what you
want to integrate...
In general it's possible for CRM functionality (which I have tested so far)
accessed via a SAP Netweaver WebAS (through Java and ABAP stack), but first you
have to think about SSO (jBoss portal
I would propose to build the portal from its sources and use the downloaded
thirdparty libraries and the ones from the portal build.
Let's assume you have extracted the portal libs into a directory and defined
the following eclipse classpath variables:
| JBOSS_PORTAL_LIBS =
Is it possible to change the users theme temporarily, i.e. just for its current
session?
As far as I can see, I can extend the MaximizingStrategyImpl and change the
layoutURI by: strategyResponse.setLayoutURI(layoutURI);
|
but this doesn't change the theme...
Thanks for
We had the same requirement for portal 2.4, solved this by introducing a new
declaredProperty on the page object. The name of the declaredProperty was
already defined as ThemeConstants.PORTAL_PROP_ORDER (theme.order).
In addition you need to provide your own navigation portlet(s), which
Is it reasonable to think about modifying the tomcat and jbossAS sources?
the current tomcat version 5.5.20 shows:
| Searching for: jsessionid
|
connectors\coyote\src\java\org\apache\coyote\tomcat4\CoyoteResponse.java(1241):
if( file.indexOf(;jsessionid= + session.getId()) = 0 )
|
I don't know if this is the indended way, but I could imagine:
1. Defining a custom login module (e.g. by extending the
org.jboss.portal.identity.auth.IdentityLoginModule) in order to add that eMail
functionality
2. Passing an additional parameter to the login module within
Hi Stefan,
is this what you want to achieve?
http://jira.jboss.com/jira/browse/JBPORTAL-884
I'm currently searching how to switch the users theme - based on Portal 2.4.1 -
right after login just for its session, i.e. not persisted in the users profile
(database). I guess this could be done
Try setting: setproxy proxyhost=your.proxy proxyport=your.port/
| at the top of .../build/buildthirdparty.xml
and a 'build deploy' afterwards
Burkhard
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4000156#4000156
Reply to the post :
Is it possible to hide pages - having the role 'Unchecked' with permission
'view' assigned - from the authenticated user?
Many thanks for any hints how to achieve this in advance.
Burkhard
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3999382#3999382
Reply
I forgot to mention the versions:
AS: 4.0.5
Portal: 2.4.1
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3999383#3999383
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3999383
___
The goal is to have a public landing page to show some general information
about the portal features the users will have after logging in to the portal.
This(these) page(s) are not needed for an authenticated user, because the
features (i.e. pages) are displayed instead.
The SAP Netweaver
I'm running jboss portal 2.4 CR2 behind an SSL configured apache virtual host.
While portal ssl operation in general works fine, I see that after successful
authentication the scheme switches from https to http.
This is propably caused by the JAAS configuration:
schuffr wrote : You did with JBoss portal? any chance I can see your
wrapper.conf file? I keep getting a java.lang.NoClassDefFoundError:
org/tanukisoftware/wrapper/WrapperSimpleApp
|
| error.
|
| thanks
|
| rob
I used 2.4 CR1, but that should not be the reason as the error is a
I installed it today with:
[url]http://wrapper.tanukisoftware.org/doc/english/integrate-simple-win.html
[/url]
Burkhard
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989801#3989801
Reply to the post :
Have you considered an integration of your application by an iframe tag?
Unfortunately this may cause some (ugly) scrollbar issues...
Burkhard
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3986500#3986500
Reply to the post :
Is it possible, that instance preferences defined in the portlet-instances.xml
are not updated in the database after a re-deploy of a war with changed
preferences?
My environment: Portal 2.4 CR1, AS 4.0.5, MySQL 5.0.24
Thanks in advance!
Burkhard
View the original post :
Hi,
as far as I can see jBoss Portal assigns roles directly to users, groups (of
users) do not exist.
For the ease of role assignment its nice to have a feature where users are
members of groups, groups have been assigned portal roles.
After login a user shall be dynamically receive all roles
HttpServletRequestLoginModule is not accessible outside of the package, so I
derived from the IdentityLoginModule and evaluated the passed header attribute.
I order to do this, I modified the login.jsp, which initially gets the header
attribute, to automatically submit the form if the expected
Hi,
what is the best solution for an externally authenticated user to be identified
as a portal user?
For a successful authenticated user I have its uniqueID available as a header
attribute. Looking at the sources I found two possible base classes for my
custom login module:
I think I need them too or some kind of confirmation, that the documentation of
the portlet descriptors in Ch. 6.1 of the reference guide is complete.
Burkhard
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3973570#3973570
Reply to the post :
68 matches
Mail list logo