https://issues.jasig.org/browse/CASC-196 could be related??? 

Scott, CAS4 uses the new client version??

Enviado desde mi iPhone

El 17/07/2013, a las 23:48, "Danner, Mearl" <[email protected]> escribió:

> I've successfully configured CAS logins and the LDAP service registry. I 
> haven't tried to modify a service, but they properly authorize URLS.
> 
> I am using TestApp1 and TestApp2 to check attribute release and am getting:
> 
> java.lang.StringIndexOutOfBoundsException: String index out of range: -1 from 
> the CAS client
> 
> I believe it is because I am not populating attributes for the principal. 
> cas.log shows:
> 
> 2013-07-17 14:10:13,758 DEBUG 
> [org.jasig.cas.authentication.LdapAuthenticationHandler] - Found principal 
> attribute: [givenName[John]]
> 2013-07-17 14:10:13,758 DEBUG 
> [org.jasig.cas.authentication.LdapAuthenticationHandler] - Found principal 
> attribute: [sn[Danner]]
> 2013-07-17 14:10:13,758 INFO 
> [org.jasig.cas.authentication.PolicyBasedAuthenticationManager] - 
> LdapAuthenticationHandler successfully authenticated jmdanner+password
> 2013-07-17 14:10:13,758 DEBUG 
> [org.jasig.cas.authentication.PolicyBasedAuthenticationManager] - 
> org.jasig.cas.authentication.principal.BasicPrincipalResolver@32039440 
> resolved jmdanner from jmdanner+password
> 2013-07-17 14:10:13,759 INFO 
> [org.jasig.cas.authentication.PolicyBasedAuthenticationManager] - 
> Authenticated jmdanner with credentials [jmdanner+password].
> 2013-07-17 14:10:13,759 DEBUG 
> [org.jasig.cas.authentication.PolicyBasedAuthenticationManager] - Attribute 
> map for jmdanner: {}
> 
> The attribute map for jmdanner is empty. Do I still need to configure an 
> attributeRepository in CAS 4?
> 
> 
> Mearl Danner
> Systems Programmer
> Samford University Technology Services
> http://www.samford.edu
> 
>> -----Original Message-----
>> From: Danner, Mearl [mailto:[email protected]]
>> Sent: Monday, July 15, 2013 8:54 AM
>> To: [email protected]
>> Subject: RE: RE:[cas-dev] Cas 4.0 ldap configuration
>> 
>> That did it for me also. Thanks,
>> 
>> Mearl Danner
>> Systems Programmer
>> Samford University Technology Services
>> http://www.samford.edu
>> 
>>> -----Original Message-----
>>> From: Art O Cathain [mailto:[email protected]]
>>> Sent: Monday, July 15, 2013 5:51 AM
>>> To: [email protected]
>>> Subject: RE:[cas-dev] Cas 4.0 ldap configuration
>>> 
>>> I think the problem is on line 156 of LdapAuthenticationHandler
>>> 
>>>        if (response.getResult()) {
>>>            doPostAuthentication(response);
>>>        }
>>> 
>>> This should be
>>> 
>>>        if (response.getResult()) {
>>>            return doPostAuthentication(response);
>>>        }
>>> 
>>> Works for me, anyway.
>>> --
>>> 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-dev
>> 
>> 
>> --
>> 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-dev
> 
> -- 
> 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-dev

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

Reply via email to