HTTP Status 403 error ocurred when I switch portal authentic
xgj6688 Oct 17, 2005 3:23 AMI change the jboss-portal.sar/conf/login-config.xml like this:
=========================================
<?xml version='1.0'?>
<application-policy name="portal">
<login-module code="org.jboss.security.auth.spi.LdapLoginModule" flag="required">
<module-option name="java.naming.factory.initial">
com.sun.jndi.ldap.LdapCtxFactory
</module-option>
<module-option name="java.naming.provider.url">
ldap://172.24.40.75:389
</module-option>
<module-option name="java.naming.security.authentication">
simple
</module-option>
<module-option name="principalDNPrefix">CN=</module-option>
<module-option name="principalDNSuffix">
,OU=SEE,O=SEC
</module-option>
<module-option name="rolesCtxDN">
OU=SEE,O=SEC
</module-option>
<module-option name="uidAttributeID">CN</module-option>
<module-option name="matchOnUserDN">false</module-option>
<module-option name="roleAttributeID">OU</module-option>
<module-option name="roleAttributeIsDN">false </module-option>
</login-module>
</application-policy>
<application-policy name="webdav">
<login-module code="org.jboss.security.auth.spi.LdapLoginModule" flag="required">
<module-option name="java.naming.factory.initial">
com.sun.jndi.ldap.LdapCtxFactory
</module-option>
<module-option name="java.naming.provider.url">
ldap://172.24.40.75:389
</module-option>
<module-option name="java.naming.security.authentication">
simple
</module-option>
<module-option name="principalDNPrefix">CN=</module-option>
<module-option name="principalDNSuffix">
,OU=SEE,O=SEC
</module-option>
<module-option name="rolesCtxDN">
OU=SEE,O=SEC
</module-option>
<module-option name="uidAttributeID">CN</module-option>
<module-option name="matchOnUserDN">false</module-option>
<module-option name="roleAttributeID">OU</module-option>
<module-option name="roleAttributeIsDN">false</module-option>
</login-module>
</application-policy>
=========================================
Then I opened jboss-portal page and login in with LDAP account.
I do believe the LDAP authentication is success.
The portal transfer to this URL:
http://localhost:8080/portal/auth/index.html?ctrl:id=window.default.CMSPortletWindow&ctrl:type=action&org.jboss.portal%23PATH=%2F
and displayed:
HTTP Status 403 - Access to the requested resource has been denied
--------------------------------------------------------------------------------
type Status report
message Access to the requested resource has been denied
description Access to the specified resource (Access to the requested resource has been denied) has been forbidden.
--------------------------------------------------------------------------------
Apache Tomcat/5.5.9
What can I do to solve the problem?What is the possible reason?
I am new to jboss-portal and jboss as, please help.
thanks in advance.