Hi, Im trying to use CAS with X.509 certificates
I configure the bean
<bean class=
"org.jasig.cas.adaptors.x509.authentication.principal.X509CertificateCredentialsToIdentifierPrincipalResolver">
<property name="identifier" value="$CN" /> </bean>
But my principal is PART of the CN
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 dont want to modify the
class X509CertificateCredentialsToIdentifierPrincipalResolver, so I ask
first for other solutions.
Thanks
Pablo Mosquera
--
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