[jboss-cvs] jboss-portal/core/src/main/org/jboss/portal/core/api ...
Julien Viet
julien at jboss.com
Fri Aug 11 11:32:50 EDT 2006
User: julien
Date: 06/08/11 11:32:50
Modified: core/src/main/org/jboss/portal/core/api
PortalNodeURLFactory.java
Log:
when the user is authenticated, the link provided for portal nodes or cms content should continue to use the authenticated servlet mapping
Revision Changes Path
1.21 +2 -2 jboss-portal/core/src/main/org/jboss/portal/core/api/PortalNodeURLFactory.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: PortalNodeURLFactory.java
===================================================================
RCS file: /cvsroot/jboss/jboss-portal/core/src/main/org/jboss/portal/core/api/PortalNodeURLFactory.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- PortalNodeURLFactory.java 31 Jul 2006 19:29:46 -0000 1.20
+++ PortalNodeURLFactory.java 11 Aug 2006 15:32:50 -0000 1.21
@@ -33,7 +33,7 @@
/**
* @author <a href="mailto:julien at jboss.org">Julien Viet</a>
- * @version $Revision: 1.20 $
+ * @version $Revision: 1.21 $
*/
public class PortalNodeURLFactory
{
@@ -123,7 +123,7 @@
}
//
- boolean authenticated = false;
+ boolean authenticated = securityContext.isAuthenticated();
if (wantAuthenticated != null)
{
authenticated = wantAuthenticated.booleanValue();
More information about the jboss-cvs-commits
mailing list