[JBoss Portal] - Re: header.jsp - How To?
by viggo.navarsete
if I create my own theme/layout and bundles it into a separate war file, and if I have the exact path for the header.jsp and tabs.jsp as described here:
<mbean
| code="org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor"
| name="portal:service=Interceptor,type=Command,name=PageCustomizer"
| xmbean-dd=""
| xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
| <xmbean/>
| <attribute name="TargetContextPath">/portal-core</attribute>
| <attribute name="HeaderPath">/WEB-INF/jsp/header/header.jsp</attribute>
| <attribute name="TabsPath">/WEB-INF/jsp/header/tabs.jsp</attribute>
| <!-- Overrides the value of core.login.namespace in config.xml -->
| <attribute name="LoginNamespace">dashboard</attribute>
| <depends
| optional-attribute-name="Config"
| proxy-type="attribute">portal:service=ServerConfig</depends>
| <depends
| optional-attribute-name="PortalAuthorizationManagerFactory"
| proxy-type="attribute">portal:service=PortalAuthorizationManagerFactory</depends>
| </mbean>
|
would then my own header.jsp and tabs.jsp from my own war file be preferred when rendering my portal?
Or am I forced to change the jboss-portal.sar/META-INF/jboss-service.xml in order to use my own customized header and tabs?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147804#4147804
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147804
15 years, 12 months
[JBoss Portal] - Re: multiple header support
by viggo.navarsete
if I create my own theme/layout and bundles it into a separate war file, and if I have the exact path for the header.jsp and tabs.jsp as described here:
<mbean
| code="org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor"
| name="portal:service=Interceptor,type=Command,name=PageCustomizer"
| xmbean-dd=""
| xmbean-code="org.jboss.portal.jems.as.system.JBossServiceModelMBean">
| <xmbean/>
| <attribute name="TargetContextPath">/portal-core</attribute>
| <attribute name="HeaderPath">/WEB-INF/jsp/header/header.jsp</attribute>
| <attribute name="TabsPath">/WEB-INF/jsp/header/tabs.jsp</attribute>
| <!-- Overrides the value of core.login.namespace in config.xml -->
| <attribute name="LoginNamespace">dashboard</attribute>
| <depends
| optional-attribute-name="Config"
| proxy-type="attribute">portal:service=ServerConfig</depends>
| <depends
| optional-attribute-name="PortalAuthorizationManagerFactory"
| proxy-type="attribute">portal:service=PortalAuthorizationManagerFactory</depends>
| </mbean>
|
|
would then my own header.jsp and tabs.jsp from my own war file be preferred when rendering my portal?
Or am I forced to change the jboss-portal.sar/META-INF/jboss-service.xml in order to use my own customized header and tabs?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147795#4147795
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147795
15 years, 12 months
[JBoss Portal] - Re: HTTP Status 403 - when using LDAP
by DeanoUK
I've added some logging and am seeing:
| [30 Apr 2008 11:56:26] DEBUG com.msp.ejb.security.IdentityLoginModule - U
| serStatus is OK, returning true.
| [30 Apr 2008 11:56:26] DEBUG org.apache.catalina.authenticator.FormAuthenticator
| - Authentication of 'dean.pullen' was successful
| [30 Apr 2008 11:56:26] DEBUG org.apache.catalina.authenticator.FormAuthenticator
| - Redirecting to original '/portal/auth/portal/default/default'
| [30 Apr 2008 11:56:26] DEBUG org.apache.catalina.authenticator.AuthenticatorBase
| - Failed authenticate() test ??/portal/auth/portal/default/j_security_check
| [30 Apr 2008 11:56:26] DEBUG org.apache.catalina.connector.CoyoteAdapter - Req
| uested cookie session id is 6D4F6081BEF093070076F5DF9E375A06
| [30 Apr 2008 11:56:26] DEBUG org.apache.catalina.authenticator.AuthenticatorBase
| - Security checking request GET /portal/auth/portal/default/default
| [30 Apr 2008 11:56:26] DEBUG org.apache.catalina.realm.RealmBase - Checking c
| onstraint 'SecurityConstraint[Authenticated]' against GET /auth/portal/default/d
| efault --> true
| [30 Apr 2008 11:56:26] DEBUG org.apache.catalina.realm.RealmBase - Checking c
| onstraint 'SecurityConstraint[Secure]' against GET /auth/portal/default/default
| --> false
| [30 Apr 2008 11:56:26] DEBUG org.apache.catalina.realm.RealmBase - Checking c
| onstraint 'SecurityConstraint[Secure+Authenticated]' against GET /auth/portal/de
| fault/default --> false
| [30 Apr 2008 11:56:26] DEBUG org.apache.catalina.realm.RealmBase - Checking c
| onstraint 'SecurityConstraint[Authenticated]' against GET /auth/portal/default/d
| efault --> true
| [30 Apr 2008 11:56:26] DEBUG org.apache.catalina.realm.RealmBase - Checking c
| onstraint 'SecurityConstraint[Secure]' against GET /auth/portal/default/default
| --> false
| [30 Apr 2008 11:56:26] DEBUG org.apache.catalina.realm.RealmBase - Checking c
| onstraint 'SecurityConstraint[Secure+Authenticated]' against GET /auth/portal/de
| fault/default --> false
|
(You'll notice I've replaced IdentityLoginModule with our own version which only adds additional debug statements)
I see it passing the Authenticated roles but not Secure or Secure+Authenticated but I've never seen these mentioned anywhere. Is this the cause of the problem, and if so how do I fix it? Adding these roles doesn't seem to change anything.
This also makes me wonder if authetication hasn't properly passed (shown above too):
| [30 Apr 2008 11:56:26] DEBUG org.apache.catalina.authenticator.AuthenticatorBase
| - Failed authenticate() test ??/portal/auth/portal/default/j_security_check
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147787#4147787
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147787
15 years, 12 months