From a0df7ad04b860d0e12ce184c7c643821608a5f0a Mon Sep 17 00:00:00 2001 From: Justin Richer Date: Fri, 17 Aug 2012 15:35:08 -0400 Subject: [PATCH] client documentation updates, addresses #135 --- openid-connect-client/README.md | 225 +++++++++----------------------- 1 file changed, 61 insertions(+), 164 deletions(-) diff --git a/openid-connect-client/README.md b/openid-connect-client/README.md index 6ff7c2452..e0c7e3554 100644 --- a/openid-connect-client/README.md +++ b/openid-connect-client/README.md @@ -2,48 +2,34 @@ ## Overview ## -You are reading the documentation for the OIDC Client implemented as a Spring Security AuthenticationFilter. The client facilitates a user's authentication into the secured application to an OpenID Connect Java Spring Server following the [OpenID Connect Standard] described protocol. +This project contains an OpenID Connect Client implemented as a Spring Security AuthenticationFilter. The client facilitates a user's authentication into the secured application to an OpenID Connect Java Spring Server following the OpenID Connect Standard protocol. + +For an example of the Client configuration, see the [Simple Web App] project. ## Configuring ## Configure the client by adding the following XML to your application context security making changes where necessary for your specific deployment. -Open and define an HTTP security configuration with a reference to a bean defined custom ***AuthenticationEntryPoint***: +Open and define an HTTP security configuration with a reference to a custom ***AuthenticationEntryPoint***, described below: - + Specify the access attributes and/or filter list for a particular set of URLs needing protection: - + -Indicate that ***OpenIdConnectAuthenticationFilter*** authentication filter should be incorporated into the security filter chain: +Indicate that ***OIDCAuthenticationFilter*** authentication filter should be incorporated into the security filter chain: - + -Set up remember-me authentication referencing the yet to be defined ***UserDetailsService***: - - -Define a custom ***AuthenticationEntryPoint*** via a bean declaration: +Define a custom ***AuthenticationEntryPoint*** to use a login URL via a bean declaration: - - + + NOTE: The ***loginFormUrl*** value is post-pended to the URI of the application being secured to define the ***redirect_uri***, the value passed to the OIDC Server and, if the ***OIDCAuthenticationUsingChooserFilter*** is configured, also the Account Chooser Application. @@ -54,61 +40,67 @@ Define an ***AuthenticationManager*** with a reference to a custom authenticatio -Define the custom authentication provider referencing the your yet to be defined implementation of a ***UserDetailsService***: +Define the custom authentication provider. Note that it does not take a UserDetailsService as input at this time but instead makes a call to the UserInfoEndpoint to fill in user information. -