Hi Christian,
                 Is it possible to have a filter chain without a
authentication provider?
Here's how my security/config.xml file looks like

> <security>
>
>   <roleServiceName>default</roleServiceName>
>
>   <authProviderNames>
>
>     <string>customAuthProvider</string>
>
>     <string>default</string>
>
>   </authProviderNames>
>
>
>> <configPasswordEncrypterName>pbePasswordEncoder</configPasswordEncrypterName>
>
>   <encryptingUrlParams>false</encryptingUrlParams>
>
>   <filterChain>
>
>     <filters name="web"
>> class="org.geoserver.security.HtmlLoginFilterChain"
>> interceptorName="interceptor" exceptionTranslationName="exception"
>> path="/web/**,/gwc/rest/web/**,/" disabled="false"
>> allowSessionCreation="true" ssl="false" matchHTTPMethod="false">
>
>       <filter>CasAuthenticationFilter</filter>
>
>       <filter>rememberme</filter>
>
>       <filter>form</filter>
>
>       <filter>anonymous</filter>
>
>     </filters>
>
>     <filters name="webLogin"
>> class="org.geoserver.security.ConstantFilterChain"
>> path="/j_spring_security_check,/j_spring_security_check/" disabled="false"
>> allowSessionCreation="true" ssl="false" matchHTTPMethod="false">
>
>       <filter>form</filter>
>
>     </filters>
>
>     <filters name="webLogout"
>> class="org.geoserver.security.LogoutFilterChain"
>> path="/j_spring_security_logout,/j_spring_security_logout/"
>> disabled="false" allowSessionCreation="True" ssl="false"
>> matchHTTPMethod="false">
>
>       <filter>formLogout</filter>
>
>     </filters>
>
>     <filters name="rest"
>> class="org.geoserver.security.ServiceLoginFilterChain"
>> interceptorName="restInterceptor" exceptionTranslationName="exception"
>> path="/rest/**" disabled="false" allowSessionCreation="true" ssl="false"
>> matchHTTPMethod="false">
>
>       <filter>CasAuthenticationFilter</filter>
>
>       <filter>basic</filter>
>
>       <filter>anonymous</filter>
>
>     </filters>
>
>     <filters name="gwc"
>> class="org.geoserver.security.ServiceLoginFilterChain"
>> interceptorName="restInterceptor" exceptionTranslationName="exception"
>> path="/gwc/rest/**" disabled="false" allowSessionCreation="True"
>> ssl="false" matchHTTPMethod="false">
>
>       <filter>CasAuthenticationFilter</filter>
>
>       <filter>basic</filter>
>
>     </filters>
>
>
>>     <filters name="test"
>> class="org.geoserver.security.ServiceLoginFilterChain"
>> interceptorName="interceptor" exceptionTranslationName="exception"
>> path="/test" disabled="false" allowSessionCreation="true" ssl="false"
>> matchHTTPMethod="false">
>
>       <filter>CasAuthenticationFilter</filter>
>
>
>
>     </filters>
>
>
>>     <filters name="default"
>> class="org.geoserver.security.ServiceLoginFilterChain"
>> interceptorName="interceptor" exceptionTranslationName="exception"
>> path="/**" disabled="false" allowSessionCreation="true" ssl="false"
>> matchHTTPMethod="false">
>
>       <filter>CasAuthenticationFilter</filter>
>
>     </filters>
>>
>   </filterChain>
>
>   <rememberMeService>
>
>
>> <className>org.geoserver.security.rememberme.GeoServerTokenBasedRememberMeServices</className>
>
>     <key>geoserver</key>
>
>   </rememberMeService>
>
> </security>
>
>
Now here if I remove the "customAuthProvider" I get a "Java Integrity
error", so I guess it does need it, any ideas?

On Thu, Jun 26, 2014 at 12:44 PM, Christian Mueller <
christian.muel...@os-solutions.at> wrote:

> Hi Vikas
>
> Please stay on the mailing list, this topic might be of interest for other
> people. Normally, developers do not answer personal mails.
>
> CAS does not need an Authentication Provider, the filter should be enough.
> A good idea is to enable Session Creation for each filter chain containing
> the CAS filter.
>
> Cheers
> Christian
>
>
>
> On Wed, Jun 25, 2014 at 7:50 PM, Vikas Mishra <vikasmishr...@gmail.com>
> wrote:
>
>> Thanks for all your help Christian I have successfully created a SSO
>> solution for GeoNode using this extension however I still haven't found a
>> way to create a Authentication Provider as CAS as when I go to add a new
>> Authentication Provider I cant see CAS there but I can see it in FIlter
>> chains so I have used a custom created Auth Provider and I guess that is
>> causing problems with the Single Sign out as it still isn't functioning
>> properly so It would be great if you could give some work around to create
>> a Authentication Provider and then I'm planning to write a detailed blog
>> post on this topic.
>>
>> Thanks and Cheers!
>>
>>
>> On Mon, Jun 23, 2014 at 3:56 PM, Christian Mueller <
>> christian.muel...@os-solutions.at> wrote:
>>
>>> Hi Vikas
>>>
>>> Please stay on the mailing list.
>>>
>>> You need  a CAS server, download from here
>>> http://www.jasig.org/cas
>>>
>>> The documentation is here
>>> http://jasig.github.io/cas/4.0.0/index.html
>>>
>>> Be aware of the fact that you need a SSL setup.
>>>
>>> Cheers
>>> Christian
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Sat, Jun 21, 2014 at 11:29 AM, Vikas Mishra <vikasmishr...@gmail.com>
>>> wrote:
>>>
>>>> Hi Christian,
>>>>                  What should I put on at fields 'cas server url' since
>>>> am not using any cas server so how should I put a server url?
>>>> Or do I need a cas server and if yes then can you suggest some links?
>>>> And please explain other fields as well.
>>>> Hope to hear from you soon
>>>> Thanks!
>>>>
>>>>
>>>>
>>>> On Tue, Jun 17, 2014 at 12:24 AM, Vikas Mishra <vikasmishr...@gmail.com
>>>> > wrote:
>>>>
>>>>> Christian,
>>>>>              Thanks for the heads up, I appreciate your response and
>>>>> would contact you again if required regarding this matter.
>>>>>
>>>>> Thank you!
>>>>> Vikas Mishra,
>>>>> BITS-Pilani Goa Campus, Goa
>>>>> India
>>>>>
>>>>> On 6/15/14, Christian Mueller <christian.muel...@os-solutions.at>
>>>>> wrote:
>>>>> > Hi Vikas
>>>>> >
>>>>> > Unfortunately, there is no CAS documentation at the moment. Download
>>>>> the
>>>>> > extension and drop the jar files into your WEB-INF/lib directory.
>>>>> Restart
>>>>> > GeoServer , add an authentication filter and you should see CAS as an
>>>>> > option. Create the CAS filter and configure it. Read the help texts
>>>>> > reachable from the admin GUI.
>>>>> >
>>>>> > Christian
>>>>> >
>>>>> >
>>>>> > On Fri, Jun 13, 2014 at 10:19 AM, Vikas Mishra <
>>>>> vikasmishr...@gmail.com>
>>>>> > wrote:
>>>>> >
>>>>> >> Hello everyone I am trying to integrate CAS extension in geoserver
>>>>> but I
>>>>> >> cant find any documentation anywhere so can anyone please help me
>>>>> out.
>>>>> >>
>>>>> >> Your time and help is much appreciated.
>>>>> >> Thanks
>>>>> >>
>>>>> >> --
>>>>> >>
>>>>> >> Vikas Mishra
>>>>> >> MSc(Hons) Economics
>>>>> >> *Birla Institute of Technology & Science,* Pilani
>>>>> >> KK Birla Goa Campus
>>>>> >> 8412898899|vikasmishr...@gmail.com
>>>>> >>
>>>>> >>
>>>>> >>
>>>>> >>
>>>>> ------------------------------------------------------------------------------
>>>>> >> HPCC Systems Open Source Big Data Platform from LexisNexis Risk
>>>>> Solutions
>>>>> >> Find What Matters Most in Your Big Data with HPCC Systems
>>>>> >> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
>>>>> >> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
>>>>> >> http://p.sf.net/sfu/hpccsystems
>>>>> >> _______________________________________________
>>>>> >> Geoserver-users mailing list
>>>>> >> Geoserver-users@lists.sourceforge.net
>>>>> >> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>>> >>
>>>>> >>
>>>>> >
>>>>> >
>>>>> > --
>>>>> > DI Christian Mueller MSc (GIS), MSc (IT-Security)
>>>>> > OSS Open Source Solutions GmbH
>>>>> >
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Vikas Mishra
>>>>> MSc(Hons) Economics
>>>>> *Birla Institute of Technology & Science,* Pilani
>>>>> KK Birla Goa Campus
>>>>> 8412898899|vikasmishr...@gmail.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Vikas Mishra
>>>> MSc(Hons) Economics
>>>> *Birla Institute of Technology & Science,* Pilani
>>>>  KK Birla Goa Campus
>>>> 8412898899|vikasmishr...@gmail.com
>>>>
>>>>
>>>
>>>
>>> --
>>> DI Christian Mueller MSc (GIS), MSc (IT-Security)
>>> OSS Open Source Solutions GmbH
>>>
>>>
>>
>>
>> --
>>
>> Vikas Mishra
>> MSc(Hons) Economics
>> *Birla Institute of Technology & Science,* Pilani
>> KK Birla Goa Campus
>> 8412898899|vikasmishr...@gmail.com
>>
>>
>
>
> --
> DI Christian Mueller MSc (GIS), MSc (IT-Security)
> OSS Open Source Solutions GmbH
>
>


-- 

Vikas Mishra
MSc(Hons) Economics
*Birla Institute of Technology & Science,* Pilani
KK Birla Goa Campus
8412898899|vikasmishr...@gmail.com
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to