Hi Manju,
You asked -"I want to trigger a Java Class [used by IDM] on AuthAccept Event on Siteminder can this be achieved ?"
Ujwol => Yes, you can invoke ActiveResponse/ActiveExpression on OnAuthAccept event.
I have following tech tip where I have demonstrated the same :
Tech Tip : CA Single Sign-On :Policy Server::Encrypted Active Response
You asked ="please advise if i can achieve this using ActiveExpresion to fetch SMSESSION & SM_USER and pass it on to the Login History Table."
Ujwol => I don't see a reason why not. See sample below ...
public String
invoke(ActiveExpressionContext context,
String param)
throws Exception
{
if (context == null)
{
throw new IllegalArgumentException("ActiveResponseSample invoked without context");
}
UserContext theUserContext = context.getUserContext();
if (theUserContext == null)
{
context.setErrorText("No User Context.");
return null;
}
String userName = theUserContext.getUserName();
String sessionID= theUserContext.getSessionID();
return null;
}