Thanks Scott,

We're using CAS v3.0.7, so it's time to upgrade.

Regards,

Bipul

From: Scott Battaglia [mailto:[email protected]]
Sent: Tuesday, January 25, 2011 10:17 AM
To: [email protected]
Subject: Re: [cas-user] CAS user name having $ in it

Which version of CAS are you using?

We fixed this issue:
https://issues.jasig.org/browse/CAS-897

On Tue, Jan 25, 2011 at 1:00 PM, bdutta 
<[email protected]<mailto:[email protected]>> wrote:
Hi,

Not sure where the problem is, if my username has a $ sign (e.g., Te$t) CAS 
throws an exception as follows:

=================================================
org.springframework.webflow.engine.ActionExecutionException: Exception thrown ex
ecuting [AnnotatedAction@181172 targetAction = org.jasig.cas.web.flow.Authentica
tionViaFormAction@3fa4962, attributes = map['method' -> 'submit']] in state 'sub
mit' of flow 'login-webflow' -- action execution attributes were 'map['method' -
> 'submit']'; nested exception is java.lang.IllegalArgumentException: Illegal gr
oup reference
       at org.springframework.webflow.engine.ActionExecutor.execute(ActionExecu
tor.java:68)
       at org.springframework.webflow.engine.ActionState.doEnter(ActionState.ja
va:180)
       at org.springframework.webflow.engine.State.enter(State.java:200)
       at org.springframework.webflow.engine.Transition.execute(Transition.java
:229)
       at org.springframework.webflow.engine.TransitionableState.onEvent(Transi
tionableState.java:112)
       Truncated. see log file for complete stacktrace

Caused By: java.lang.IllegalArgumentException: Illegal group reference
       at java.util.regex.Matcher.appendReplacement(Matcher.java:713)
       at java.util.regex.Matcher.replaceFirst(Matcher.java:861)
       at java.lang.String.replaceFirst(String.java:2146)
       at org.jasig.cas.adaptors.ldap.util.LdapUtils.getFilterWithValues(LdapUt
ils.java:67)
       at org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler.authent
icateUsernamePasswordInternal(FastBindLdapAuthenticationHandler.java:32)
       Truncated. see log file for complete stacktrace
>

==============================================

Is it something already restricted (e.g., all special character?) in the CAS 
protocol?

Thanks in advance.

Bipul.
--
You are currently subscribed to 
[email protected]<mailto:[email protected]> as: 
[email protected]<mailto:[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

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