I am using OpenId4Java with JSF application i have added Security Constraints in my web.xml something like this..
<security-constraint>
<web-resource-collection>
<web-resource-name>Restricted</web-resource-name>
<url-pattern>/core/*</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
</security-constraint>
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>/user/login.xhtml</form-login-page>
<form-error-page>/user/logout.xhtml</form-error-page>
</form-login-config>
</login-config>
Now when application start and user want to access the
with the help of web.xml i am able to show user a login page now here i put login with openid like Google,Yahoo now my question is that how can i tell openid that my return url is
Or if user coming from
this url then after successful login user will go this page.