cancel
Showing results for 
Search instead for 
Did you mean: 

Security Constraint Web XML

kiosklim
Champ in-the-making
Champ in-the-making
Kinda ironic once i put this into /opt/Alfresco/tomcat/conf/web.xml
I cant login to Alfresco Share but Alfresco explorer still can login either using JSSE or ARP connector still the same.

 <security-constraint>
            <web-resource-collection>
                    <web-resource-name>Security</web-resource-name>
                    <url-pattern>/*</url-pattern>
            </web-resource-collection>
            <user-data-constraint>
                    <transport-guarantee>CONFIDENTIAL</transport-guarantee>
            </user-data-constraint>
    </security-constraint>

The error in "Remote server…authentication details is not recognized"
But in ALfresco explorer doesn't create this error.Logged in smooth.
2 REPLIES 2

kiosklim
Champ in-the-making
Champ in-the-making
According to this link http://forums.alfresco.com/en/viewtopic.php?t=15094#p49641,
what mean by having second connector for tomcat.
As i'm still stick with the normal localhost:8080 and localhost:8443
So i guess there's no need to change again the port or localhost's name in other file.
But still,error occurs..
Any idea can contribute would be greatly appreciated….As this problem took me 1 week to solve and yet to find solution  :cry:

kiosklim
Champ in-the-making
Champ in-the-making
Guess i found the solution for this CE 3.3g ..

1)In ../webapps/share/web.xml after setting security constraint..
Under url pattern put
<url-pattern>/page/user/*</url-pattern> & <url-pattern>/page/console/*</url-pattern> 
instead of:
<url-pattern>/*</url-pattern>

2)In /webapps/share/index.jsp
replace response redirect(getcontextpath()+"/page/site-index")  to response redirect("https://localhost:8443/share/site-index")

Hope it helps others  Smiley Very Happy