SpringSecurityOpenIdLoginExample
This application will provide provision to login with Open Id.
How Open Id works in this app.
- User wants to access his account on /spring-security-openid-example,
- /spring-security-openid-example (the “Relying Party” in OpenID ) asks the user for his OpenID
- User enters his OpenID
- /spring-security-openid-example redirects the user to his OpenID provider
- User authenticates himself to the OpenID provider
- OpenID provider redirects the user back to /spring-security-openid-example
- /spring-security-openid-example allows the user to access his account
Build
mvn clean install
Deploy
target/spring-security-openid-example.war file into webserver(eg tomcat).
Access
- access http://ip:port//SpringSecurityOpenIdLoginExample
- Enter openID provider url you have. eg, https://me.yahoo.com/myexampleopen
- open id user should exist in Login database to authentication in your application.