The OpenID realm takes responsibility for authenticating users who access the host app using their personal OpenID account. The logic for this realm is located at grails.plugins.nimble.core.OpenIDRealm for authentication purposes the important method is authenticate. This realm operates on the token type grails.plugins.nimble.auth.OpenIDToken which is generated by the AuthController once the user has entered their OpenID URL and the OpenID service provider has responded with appropriate account details. For the OpenID realm the authentication process is:
If all the above is valid a session is established for the user and they are allowed to continue. Failure at any stage results in an appropriate exception being thrown. |