Skip to content

Commit

Permalink
Ccs 4310 update filter (#618)
Browse files Browse the repository at this point in the history
* update filter and max retries
  • Loading branch information
xdavidson committed Jul 13, 2021
1 parent e16f465 commit d89fcdb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
service = Filter.class,
property = {
KeycloakOIDCFilter.CONFIG_FILE_PARAM + "=" + "keycloak.json",
"keycloak.config.skipPattern=(/pantheon/internal/modules.json|/pantheon/builddate.json|/pantheon/fonts/*|/content/repositories.harray.1.json|/starter.html|/bin/browser.html|/content/starter/css/bundle.css|/content/starter/img/sling-logo.svg|/content/starter/img/asf-logo.svg|/content/starter/img/sling-logo.svg|/content/starter/img/gradient.jpg|/content/starter/fonts/OpenSans-Light-webfont.woff|/content/starter/fonts/OpenSans-Regular-webfont.woff|/system/sling.js|/system/*|/pantheon/*.js)",
"keycloak.config.skipPattern=(/pantheon/internal/modules.json|/pantheon/builddate.json|/pantheon/fonts/*|/content/repositories.harray.1.json|/starter.html|/bin/browser.html|/content/starter/css/bundle.css|/content/starter/img/sling-logo.svg|/content/starter/img/asf-logo.svg|/content/starter/img/sling-logo.svg|/content/starter/img/gradient.jpg|/content/starter/fonts/OpenSans-Light-webfont.woff|/content/starter/fonts/OpenSans-Regular-webfont.woff|/system/sling.js|/system/*|/pantheon/*.js|/static/rhdocs.css|/pantheon/fonts/RedHatText-Medium.woff|/conf/pantheon/*)",
HttpWhiteboardConstants.HTTP_WHITEBOARD_FILTER_PATTERN + "=" + "/pantheon/*",
HttpWhiteboardConstants.HTTP_WHITEBOARD_FILTER_PATTERN + "=" + "/content/pantheon",
HttpWhiteboardConstants.HTTP_WHITEBOARD_FILTER_PATTERN + "=" + "/content/products",
Expand All @@ -50,7 +50,7 @@ public class KeycloakFilter extends KeycloakOIDCFilter implements Filter {
private static final Logger log = LoggerFactory.getLogger(KeycloakFilter.class.getName());
private static final String KARAF_ETC = "karaf.etc";
private static final String KEYCLOAKOIDCFILTER_CONFIG_FILE_NAME = "keycloak.json";
private static final int MAX_RETRIES = 3;
private static final int MAX_RETRIES = 5;
protected KeycloakDeployment keycloakDeployment;
private PathBasedKeycloakConfigResolver keycloakConfigResolver;
/**
Expand Down

0 comments on commit d89fcdb

Please sign in to comment.