I am not understanding any of this stuff in your message.
________________________________________
From: Lapanja, Bob@POST [[email protected]]
Sent: Tuesday, June 17, 2014 11:03 AM
To: [email protected]
Subject: RE: [cas-user] Authentication manager without principal resolver
This is what I used for my authenticationHandler that did not require a
PrincipalResolver:
<bean id="authenticationManager"
class="org.jasig.cas.authentication.PolicyBasedAuthenticationManager">
<constructor-arg>
<map>
<entry key-ref=" passwordHandler " value="#{ null }" />
</map>
</constructor-arg>
<property name="authenticationPolicy">
<bean class="org.jasig.cas.authentication.AnyAuthenticationPolicy"
/>
</property>
</bean>
> -----Original Message-----
> From: Guillaume Rousse [mailto:[email protected]]
> Sent: Tuesday, June 17, 2014 6:02 AM
> To: [email protected]
> Subject: [cas-user] Authentication manager without principal resolver
>
> Hello.
>
> From my understanding of documentation ("PrincipalResolver Versus
> AuthenticationHandler" in [1]), you only need to use a full-blown
> principal resolver if the builtin facilities from your authentication
> handler isn't enough. As I'm using LDAP as single authentication
> handler, and all my required attributes are stored there, it should be
> enough.
>
> However, any attempt to define an authentication handler without such
> resolver mapping fails...
>
> The following construct fails with "Could not instantiate bean class
> [org.jasig.cas.authentication.PolicyBasedAuthenticationManager]: No
> default constructor found" error message:
>
> <bean id="authenticationManager"
>
> class="org.jasig.cas.authentication.PolicyBasedAuthenticationManager">
> <property name="authenticationPolicy">
> <bean class="org.jasig.cas.authentication.AnyAuthenticationPolicy"
> />
> </property>
> </bean>
>
> The following (also used in [1] example about multi-factor
> configuration) also fails with "entry should contains a value" error
> message:
>
> <bean id="authenticationManager"
>
> class="org.jasig.cas.authentication.PolicyBasedAuthenticationManager">
> <constructor-arg>
> <map>
> <entry key-ref="passwordHandler" />
> </map>
> </constructor-arg>
> <property name="authenticationPolicy">
> <bean class="org.jasig.cas.authentication.AnyAuthenticationPolicy"
> />
> </property>
> </bean>
>
> So, what's the expected syntax to use here ?
>
> [1]
> http://jasig.github.io/cas/4.0.0/installation/Configuring-
> Authentication-Components.html
> --
> Guillaume Rousse
> INRIA, Direction des systèmes d'information
> Domaine de Voluceau
> Rocquencourt - BP 105
> 78153 Le Chesnay
> Tel: 01 39 63 58 31
--
You are currently subscribed to [email protected] as: [email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user