AnsweredAssumed Answered

Active Response with DN and email in UserContext()

Question asked by SamWalker on May 10, 2013
Latest reply on May 13, 2013 by SamWalker
Hi,

I have implemented SiteMinder sample active response(based on the sample from CA) which does the following:

When the response is fired, I get authenticated user's DN, CN=Sam Walker,Ou=users,ou=ind,dc=na,dc=company,dc=com. I needed to modify all the commas into '/'s so backend app can use it. This functionality is working great BUT not enough any more.

New requirement is,

We want the active response to send authenticated user's DN as well as email(both these are available in same LDAP) in UserContext or how ever it is possible. Once I have both, I need to check the check the dn to see if dc=na or dc=!na, depending on that result I will decide to set email or DN as my response for the backend application.

Challenge here is to capture both DN and mail into user context. I am working with ActiveResponseSample.java in R12sp3CR11, and trying to modify the same for my requirements(capturing DN and mail). Can someone tell me whether it is technically possible?

Outcomes