[ 
https://issues.apache.org/jira/browse/RAVE-775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13465825#comment-13465825
 ] 

Raminderjeet Singh commented on RAVE-775:
-----------------------------------------

I am able to find a solution for this problem. If you use 
always-use-default-target="true" in security:openid-login then the behavior is 
right. Now the issue is if user dont take any action then we have a temporary 
authenticated user( its just in memory not in DB) in the context and if user 
try to type http://localhost:8080/portal/ the above exception will come. To 
solve this problem we can create our own openid failure handler and dont 
create/authenticate temporary user. here is a example i found 
http://stackoverflow.com/questions/12140519/spring-security-with-openid-for-google-not-working-in-production-environment
                
> username for OpenID users
> -------------------------
>
>                 Key: RAVE-775
>                 URL: https://issues.apache.org/jira/browse/RAVE-775
>             Project: Rave
>          Issue Type: Bug
>            Reporter: Viknes B
>            Assignee: Viknes B
>            Priority: Minor
>         Attachments: Rave-775-final.patch, rave-775.patch
>
>
> OpenID users user their URL to login into Rave. If a user is logging in for 
> the first time, take him to the registration page to create a new account in 
> rave and then log him in.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to