removed repetative check of "token" parameter in signed request object

pull/166/merge
Mike Derryberry 2012-07-24 13:39:20 -04:00 committed by Justin Richer
parent 685734ce35
commit 99bc1294e3
1 changed files with 1 additions and 5 deletions

View File

@ -84,9 +84,7 @@ public class OIDCSignedRequestFilter extends AbstractOIDCAuthenticationFilter {
@Override
public void handleAuthorizationRequest(HttpServletRequest request, HttpServletResponse response,
OIDCServerConfiguration serverConfiguration) throws IOException {
if(StringUtils.isNotBlank(request.getParameter("token"))) {
Jwt jwt = createAndSignRequestJwt(request, serverConfiguration);
Map<String, String> urlVariables = new HashMap<String, String>();
@ -98,8 +96,6 @@ public class OIDCSignedRequestFilter extends AbstractOIDCAuthenticationFilter {
logger.debug("Auth Request: " + authRequest);
response.sendRedirect(authRequest);
}
}
public Jwt createAndSignRequestJwt(HttpServletRequest request, OIDCServerConfiguration serverConfiguration) {