You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by stockii <st...@shopgate.com> on 2010/03/26 14:35:02 UTC
Tomcat 5.5 Security Constraint
Heya hey.
i have little trouble with my tomcat and my security-constraint
i have 4 cores, in these cores all should be protected via username and pwd,
but not the select!
my cores are so.
.../solr/search/admin/
.../solr/suggest/admin/
.../solr/searchpg/admin/
.../solr/suggestpg/admin/
this is my security-constraint:
<security-constraint>
<web-resource-collection>
<web-resource-name>solr</web-resource-name>
<url-pattern>/solr/*/admin/*</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>*</realm-name>
</login-config>
<url-pattern>/solr/*/admin/*</url-pattern>
only this should be closed.
no url-pattern are working. only --> /*
can any help me ? thx !!
--
View this message in context: http://n3.nabble.com/Tomcat-5-5-Security-Constraint-tp676516p676516.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Tomcat 5.5 Security Constraint
Posted by stockii <st...@shopgate.com>.
i try this, but with no changes =(
do you have an short example for dummies like me ? ;)
--
View this message in context: http://n3.nabble.com/Tomcat-5-5-Security-Constraint-tp676516p676677.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Tomcat 5.5 Security Constraint
Posted by Eric Pugh <ep...@opensourceconnections.com>.
I've had the exact same frustration with Multicore and Solr... You
need to explicitly layout each pattern with the corename in it.
On Fri, Mar 26, 2010 at 8:35 AM, stockii <st...@shopgate.com> wrote:
>
> Heya hey.
>
> i have little trouble with my tomcat and my security-constraint
>
> i have 4 cores, in these cores all should be protected via username and pwd,
> but not the select!
>
> my cores are so.
>
> .../solr/search/admin/
> .../solr/suggest/admin/
> .../solr/searchpg/admin/
> .../solr/suggestpg/admin/
>
> this is my security-constraint:
>
> <security-constraint>
> <web-resource-collection>
> <web-resource-name>solr</web-resource-name>
> <url-pattern>/solr/*/admin/*</url-pattern>
> <http-method>GET</http-method>
> <http-method>POST</http-method>
> </web-resource-collection>
>
> <login-config>
> <auth-method>BASIC</auth-method>
> <realm-name>*</realm-name>
> </login-config>
>
> <url-pattern>/solr/*/admin/*</url-pattern>
>
> only this should be closed.
>
>
> no url-pattern are working. only --> /*
>
> can any help me ? thx !!
>
>
>
>
>
> --
> View this message in context: http://n3.nabble.com/Tomcat-5-5-Security-Constraint-tp676516p676516.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>