Thanks Marvin, I think this is a very common issue.

Here in Spain we have some id cards that have this structure.

2010/2/19 Marvin Addison <[email protected]>

> > For example:
> > CN=NOMBRE APELLIDO1 APELLIDO2 NOMBRE – NIF 11222333J
> > I want my principal to be "11222333J"
> > Can I use regular expressions or anything else to solve this problem?
> > Something like value="$CN " regExp="NIF (\d{8})|"
>
> I was almost certain this functionality existed, but I was surprised
> to see it's not there.  I would argue that the implementation of
> X509CertificateCredentialsToIdentifierPrincipalResolver could be
> greatly simplified via regular expressions to accommodate the current
> use cases as well as ones like yours.  I suggest opening a Jira
> improvement issue for this feature; it should be straightforward to
> implement.
>
> M
>
> --
> 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