If you are referring to the
HttpBasedServiceCredentialsAuthenticationHandler, there is an
"org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrinc
ipalResolver" you can map it to. 

 

From: Linda Toth [mailto:[email protected]] 
Sent: Friday, March 14, 2014 12:22 PM
To: [email protected]
Subject: [cas-user] <map> construct for
HttpBasedServiceCredentialsAuthenticationHandler

 

Folks

 

In all the example I am able to find, either the Spring <list> collection
is used or the <constructor-arg><map>.

 

I have three Authentication Handlers, two authenticating to AD, but the
third the standard HTTP Authentication Handler.  This class does not need
a principal resolver, although I have seen others pass it the
BasicPrincipalResolver class.  I do not have that class in my version of
CAS.

 

My thought, then was to remove the reference to a principal resolver by
changing the entry to a <entry ref ..> construct.  This has been suggested
in online examples, but does not pass the parsing test during load.

 

How might I construct the following, such that I do not need to pass a
value to the HTTPAuthHandler, or alternately, what value could I pass the
key-ref/value-ref combination that would be benign.

 

<bean id="authenticationManager"

 
class="org.jasig.cas.authentication.LinkedAuthenticationHandlerAndCredenti
alsToPrincipalResolverAuthenticationManager">

        <constructor-arg index="0">

          <map>

            <entry key-ref="AD-LdapAuthHandler"
value-ref="ADLdapCredential-to-PrincipalResolver" />

            <entry key-ref="UAAuthenticator-LdapAuthHandler"
value-ref="UAAuthenticatorLdapCredential-to-PrincipalResolver" />

            <entry ref="HTTPAuthHandler"  />

          </map>

        </constructor-arg>

    </bean>

 

Linda

 

--


Linda Toth
University of Alaska - Office of Information Technology (OIT) - Identity
and Access Management

910 Yukon Drive, Suite 103

Fairbanks, Alaska 99775

Tel: 907-450-8320

Fax: 907-450-8381

 <mailto:[email protected]> [email protected] |
<http://www.alaska.edu/oit/> www.alaska.edu/oit/

 

-- 
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

Reply via email to