Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New user from SSO cause duplicate registration #45

Open
TomasKulhanek opened this issue Apr 25, 2018 · 0 comments
Open

New user from SSO cause duplicate registration #45

TomasKulhanek opened this issue Apr 25, 2018 · 0 comments

Comments

@TomasKulhanek
Copy link
Member

Initiated probably by duplicate call of createUserSSO.

Server reports

Apr 25 09:29:51 instance-1 westlife-repository: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement
...
Apr 25 09:29:51 instance-1 westlife-repository: Caused by:
Apr 25 09:29:51 instance-1 westlife-repository: org.hibernate.exception.ConstraintViolationException: could not execute statement
Apr 25 09:29:51 instance-1 westlife-repository: at org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:72)
...
Apr 25 09:29:51 instance-1 westlife-repository: at com.sun.proxy.$Proxy67.saveUser(Unknown Source)
Apr 25 09:29:51 instance-1 westlife-repository: at org.cirmmp.spring.controller.SharedCon.createSSOUser(SharedCon.java:73)
Apr 25 09:29:51 instance-1 westlife-repository: at org.cirmmp.spring.controller.SharedCon.checkAuthentication(SharedCon.java:128)
Apr 25 09:29:51 instance-1 westlife-repository: at org.cirmmp.spring.controller.DatasetServiceCon.listDataset(DatasetServiceCon.java:103)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant