Thanks again, here goes the details, When a user gets registered in the application he provides UserName and Password of his choice (ignoring the criteria's). The UserName is known to him and visible to the public. The UserId is an unique number which is generated during user registration and as of now the UserId is internal and it is neither known to the user nor visible to the public. Both UserName and UserId are Unique but "UserName is modifiable". Since it is modifiable we have taken call to use UserId to identify the user. However the user would login using his UserName/Password but applications would still use UserId to do any transactions (say user provisioning). Now the applications expect UserId in the ST Validation Response to do any transaction (say to fetch user details).
I understand from the chain that I should use the resolver to query UserId from database. That is, override extractPrincipalId() method to call a remote service or Dao which would fetch UserId by UserName. Please advice. Thanks & Regards, Gokula -- 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
