2

Is it possible to provide additional user’s data (like email) to clients?

My CAS server gets full about user from its data source. After client application logged in I have only user name. How can I transfer user’s info from CAS server app to CAS client app?

Suppose I can implement RESTful service that will be called after login by CAS client app but how can I secure it?

Giacomo1968
  • 25,759
  • 11
  • 71
  • 103
fedor.belov
  • 22,343
  • 26
  • 89
  • 134
  • could you explain your question with a little bit more detail, please? – Dani May 02 '12 at 12:50
  • I have found very similar question - http://stackoverflow.com/questions/4882298/getting-more-attributes-from-cas-than-just-user-id – fedor.belov May 02 '12 at 13:07

1 Answers1

3

Depending on your authentication source (AD, LDAP, etc) you could configure CAS to return the extra attributes you want to the client. This is achieved using the attribute repository by the jasig persondir API. Using a special validation filter, you could then return extra attribute such as email, etc and have them be available inside the Principal object.

See this link for more info plz: https://wiki.jasig.org/display/CASUM/Attributes

Misagh Moayyed
  • 4,154
  • 2
  • 15
  • 25