留言板
Expando field in custom Authenticator.
Hi Guys,
I was trying custom Authenticator.
Now i am facing problem with Expando.
I have created expando filed in Login page.
While authentication call to webservice i have to pass expando field.
Now the question is how to access expando field in authenticateByScreenName or authenticateByEmailAddress methods of Authenticator interface.
Any help is appreciated.
Thanks,
Sagar
I was trying custom Authenticator.
Now i am facing problem with Expando.
I have created expando filed in Login page.
While authentication call to webservice i have to pass expando field.
Now the question is how to access expando field in authenticateByScreenName or authenticateByEmailAddress methods of Authenticator interface.
Any help is appreciated.
Thanks,
Sagar
Try with below code
String yourValue=(String) user.getExpandoBridge().getAttribute( "<expandofieldname>");</expandofieldname>