I didn't like this implementation. (Or I haven't understood)
When Tomcat is configured for SSL with client cert authentication required, it
already uses a keystore
(connector tag in server.xml).
This keystore contains only the server certificate.
The clients certificates is authenticated against t
walkthrought:
I've implementend a subclass of HibernateLoginConfig that returns always true
for validatePassword;
I've implemented a Filter that replaces the request object with a
RequestWrapper that returns
X509Certificate[] certs = (X509Certificate[])
request.getAttribute("javax.servlet.requ
As you say if everything was correct getUserPrincipal would return the user.
Maybe I'm not configuring the application correctly.
getUserPrincipal is returning null
and request.getAttribute("javax.servlet.request.X509Certificate") is returning
the user certificates.
why?
View the original post
No.
it is 4.0.1
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874519#3874519
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874519
---
This SF.Net email is sponsor
the code that functions is:
X509Certificate[] certs = (X509Certificate[])
request.getAttribute("javax.servlet.request.X509Certificate");
X509Certificate cert = certs[0];
cert.getSubjectDN().getName();
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874516#387
the code that functions is:
X509Certificate[] certs = (X509Certificate[])
request.getAttribute("javax.servlet.request.X509Certificate");
X509Certificate cert = certs[0];
cert.getSubjectDN().getName();
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874515#387
Excuse... getUserPrincipal returned null.
it doesn't function
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874512#3874512
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874512
--
It functions and return the user name.
But I think jboss portal does not use this String to amp with a User and
authenticate him.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874507#3874507
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=
getRemoteUser() is returning "null"
request.getAttribute("javax.servlet.request.X509Certificate") is returning all
the client certificates configured in the client.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874504#3874504
Reply to the post :
http://www
But how the certificate of the client is mapped to a user in the Users table?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874484#3874484
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874484
---
I wan't to configure portal authentication to be made via user certificate.
Where I configure this?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874362#3874362
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874362
It didn't work
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873940#3873940
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873940
---
SF email is sponsored by - The
When JBOSS will suporte hibernate 3?
I'm having some trouble with hibernate 2 and oracle on composite keys and I've
seen in JIRA of hibernate that it won't be solved in hibernate 2.1 but is
already implemented in hibernate 3.
How coupled with hibernate 2 is JBOSS Portal?
Which files would I hav
Does jboss-portal support hibernate3?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873822#3873822
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873822
---
SF em
When I redeploy a WAR with a protlet specification the follow exception occur.
But if I restart JBOSS it functions well.
What can be problem?
java.lang.NullPointerException
at
org.jboss.portal.server.invocation.component.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.j
Hi.
I would like to implement diferent instances of CMSPortlet and AdminCMSPortlet
each for a diferente part of content.
How can I do this?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873080#3873080
Reply to the post :
http://www.jboss.org/index.html?mo
It is possible to update a page definition xml at run-time, changing which
portlet apears and changing portlets preferences?
Does jboss portal support personalization?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870011#3870011
Reply to the post :
http://
It seams to be ok. This line appears in the startup log:
15:45:31,530 INFO [WrapperDataSourceService] Bound connection factory for
resource adapter for ConnectionManager
'jboss.jca:service=DataSourceBinding,name=PortalDS to JNDI name 'java:PortalDS'
I think jboss is not seeing portal-core.har.
Jboss startup process is not registering service=Hibernate.
No exception occur.
What can be the problem?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868251#3868251
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868
But jboss-portal-2.0 is up to date?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867783#3867783
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867783
---
SF email
Ok...
The following error occurred after installation of jboss-cache.jar in lib
directory... but this is an error that doesn't relates to the first exception,
I think
11:04:28,727 WARN [ServiceController] Problem starting service
jboss.har:service=ForumHibernate
net.sf.hibernate.HibernateExce
the build worked successfully.
but the portal doesn't function anymore.
Exception:
org.jboss.portal.common.transaction.NestedException:
java.lang.NullPointerException
at
org.jboss.portal.common.transaction.Transactions.requiresNew(Transactions.java:81)
at
org.jboss.portal.core
I think the exception that caused the problem was listed in the post, in the
end...
I think is that
Caused by: java.lang.NullPointerException
at
org.jboss.portal.server.servlet.AbstractMainServlet.doGet(AbstractMainServlet.java:52)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:69
There is no other exception in the log.
Except one that occur when starting jboss:
10:50:59,716 WARN [ServiceController] Problem starting service
jboss.har:service=ForumHibernate
java.lang.NoClassDefFoundError: org/jboss/cache/TreeCache
at net.sf.hibernate.cache.TreeCache.(TreeCache.jav
I've downloaded the modules jboss-portal and jboss-portal-thirdparty.
When I've runned build.bat from jboss-portal/build directory the following
error ocurred:
file:C:/Projetos/workspace/jboss-portal-2.0/format/build.xml:113: Could not
create task or type of type: jflex.
what i've done wrong?
So?
what class do I have to update?
how I get the source code?
I'm behind a firewall and connot use cvs. Can I download via http?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867630#3867630
Reply to the post :
http://www.jboss.org/index.html?module=bb&op
Ok.
When you've solved the problem post a message here.
thanks
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867465#3867465
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867465
I've changed the portlet.xml to:
|
| http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd";
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
| xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd
/opt/SUNWps/dtd/portlet.xsd" version="1.0">
|
|
No.
I have to declare the preference? How?
There is a help for these xml files?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867276#3867276
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867276
---
is it right?
how is the right way to access a portlet instance preference
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867127#3867127
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867127
--
My portlet-instances.xml is as follow:
|
|
|
| Servicos
| PagePortlet
|
|
| teste
| teste
|
|
|
|
|
|
|
|
|
|
I've included the preferences tag in portlet-instances.xml and used the
function:
request.getPreferences().getValue("page","")
to access the preference but the default value was returned.
Had I used the correct function?
View the original post :
http://www.jboss.org/index.html?module=bb&op=vi
thanks
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866971#3866971
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866971
---
SF email is sponsored by - The IT Prod
There is a tag init-param that can be used in portlet.xml to initialize a
portlet class.
But what I need is some tag to pass a param to initialize a portlet instance in
the portlet-instance.xml.
is there such a tag?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtop
how do I load a class from another WAR file?
or how include a JSP from another WAR?
Is it possible?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866503#3866503
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866503
I'm trying to make war themes but I have a doubt:
Can I include a jsp file from another WAR? How?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866239#3866239
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866239
--
how i submit html code to the forum?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866199#3866199
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866199
---
SF email
<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="jbp" %>
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866197#3866197
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866197
<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="jbp" %>
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866196#3866196
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866196
<%@ taglib uri="/WEB-INF/portal-lib.tld" prefix="jbp" %>
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866198#3866198
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866198
<%@ page
import="org.jboss.portal.server.output.FragmentResult,
java.io.StringWriter,
org.jboss.portal.theme.taglib.*"
%>
<%
FragmentResult pfragment = (FragmentResult)
pageContext.getRequest().getAttribute(RegionRenderTag.PCTX_FRAGMENT);
if(pfragment!=null)
note that the tag include a jsp file named /nodesk/portlet.jsp responsible for
rendering the portlets.
this name can be configured in an xml file.
here is an example implementation:
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866193#3866193
Reply to the
/*
* Arquivo criado em Feb 11, 2005 por jespdb
*/
package org.jboss.portal.theme.taglib;
import java.util.Iterator;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.BodyTagSupport;
import org.jboss.portal.core.theme.Item;
import org.jboss.portal.core.theme.PageHolder;
imp
I don't know how to use cvs...
so I 've made this code for a tag for rendering regions.
does anybody can comment? does anybody can teach me how to submit this code to
cvs.
the nexts posts are the code:
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866191#
I was thinking in a theme (or skin) interface which declares method for getting
images and styles definitions according to their names and region and some
other properties (maybe the PortalRequest object).
There could be some reserved names for some special images and styles.
For example, for th
Does exist some standard specification for themes(like portlets)?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865260#3865260
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865260
--
How can I contribute?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865259#3865259
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865259
---
This SF.Net email is sp
Does anybody is working on development of theme API?
It will be made using custom JSP tags?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865256#3865256
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865256
-
How I create a new theme?
How I change the default theme?
Can i develop diferent themes and change between them according to some
variable (like, user logged in, date)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865252#3865252
Reply to the post :
http:/
I've deployed the forum.
But with which URL do I use him?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865040#3865040
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865040
--
I've changed the following line:
Session session = HibernateContext.getSession("java:portal/SessionFactory");
with:
Session session = ((SessionFactory)new
InitialContext().lookup("java:portal/SessionFactory")).openSession();
and it had functioned...
what can be the problem?
View the origina
The first two lines:
java.lang.NullPointerException
org.jboss.hibernate.session.HibernateContext.prepareSession(HibernateContext.java:171)
org.jboss.hibernate.session.HibernateContext.getSession(HibernateContext.java:99)
View the original post :
http://www.jboss.org/index.html
I think portal is not binding the following name to the correct object:
portal/SessionFactory
In which class it would be done?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3864077#3864077
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=pos
This is the log generated when jboss starts referencing session factory:
10:52:39,015 INFO [SessionFactoryImpl] building session factory
10:53:07,374 INFO [ReflectHelper] reflection optimizer disabled for:
org.jboss.portal.core.impl.role.RoleImpl, BulkBeanException: Property is
private (proper
An error occur in the following line:
org.jboss.portal.core.invocation.UserContextInterceptor.invoke(UserContextInterceptor.java:52)
here is the line.
Session session = HibernateContext.getSession("java:portal/SessionFactory");
what can be the cause?
View the original post :
http://www.jboss.
55 matches
Mail list logo