@Test public void build() { assertNotNull(builder); builder .cookiesConfidentiality(false) .maxPagesPerSession(23) .reuseExistingPageInAjaxRequest(true) .multipartIntegration(false) .sessionExpired() .loginPage("/login.html"); HDIVConfig config = builder.build(); assertNotNull(config); assertFalse(config.isCookiesConfidentialityActivated()); assertTrue(config.isReuseExistingPageInAjaxRequest()); assertFalse(config.isMultipartIntegration()); assertEquals(23, builder.getMaxPagesPerSession()); }
public HDIVConfig build() { return config; }
SecurityConfigBuilder { public HDIVConfig build() { return config; } }
SecurityConfigBuilder { public HDIVConfig build() { return config; } SecurityConfigBuilder(final PatternMatcherFactory patternMatcherFactory); }
SecurityConfigBuilder { public HDIVConfig build() { return config; } SecurityConfigBuilder(final PatternMatcherFactory patternMatcherFactory); SecurityConfigBuilder cookiesConfidentiality(final boolean cookiesConfidentiality); SecurityConfigBuilder cookiesIntegrity(final boolean cookiesIntegrity); SecurityConfigBuilder reuseExistingPageInAjaxRequest(final boolean reuseExistingPageInAjaxRequest); SecurityConfigBuilder validateUrlsWithoutParams(final boolean validateUrlsWithoutParams); SecurityConfigBuilder confidentiality(final boolean confidentiality); SecurityConfigBuilder debugMode(final boolean debugMode); SecurityConfigBuilder errorPage(final String errorPage); @SuppressWarnings("deprecation") SecurityConfigBuilder randomName(final boolean randomName); SecurityConfigBuilder showErrorPageOnEditableValidation(final boolean showErrorPageOnEditableValidation); SecurityConfigBuilder editableFieldsRequiredByDefault(final boolean editableFieldsRequiredByDefault); @Deprecated SecurityConfigBuilder strategy(final Strategy strategy); @SuppressWarnings("deprecation") SecurityConfigBuilder stateParameterName(final String stateParameterName); @SuppressWarnings("deprecation") SecurityConfigBuilder modifyStateParameterName(final String modifyStateParameterName); SecurityConfigBuilder maxPagesPerSession(final int maxPagesPerSession); SecurityConfigBuilder urlObfuscation(final boolean urlObfuscation); SecurityConfigBuilder pentestingActive(final boolean penTestingActive); SecurityConfigBuilder multipartIntegration(final boolean multipartIntegration); SessionExpiredConfigure sessionExpired(); HDIVConfig build(); int getMaxPagesPerSession(); }
SecurityConfigBuilder { public HDIVConfig build() { return config; } SecurityConfigBuilder(final PatternMatcherFactory patternMatcherFactory); SecurityConfigBuilder cookiesConfidentiality(final boolean cookiesConfidentiality); SecurityConfigBuilder cookiesIntegrity(final boolean cookiesIntegrity); SecurityConfigBuilder reuseExistingPageInAjaxRequest(final boolean reuseExistingPageInAjaxRequest); SecurityConfigBuilder validateUrlsWithoutParams(final boolean validateUrlsWithoutParams); SecurityConfigBuilder confidentiality(final boolean confidentiality); SecurityConfigBuilder debugMode(final boolean debugMode); SecurityConfigBuilder errorPage(final String errorPage); @SuppressWarnings("deprecation") SecurityConfigBuilder randomName(final boolean randomName); SecurityConfigBuilder showErrorPageOnEditableValidation(final boolean showErrorPageOnEditableValidation); SecurityConfigBuilder editableFieldsRequiredByDefault(final boolean editableFieldsRequiredByDefault); @Deprecated SecurityConfigBuilder strategy(final Strategy strategy); @SuppressWarnings("deprecation") SecurityConfigBuilder stateParameterName(final String stateParameterName); @SuppressWarnings("deprecation") SecurityConfigBuilder modifyStateParameterName(final String modifyStateParameterName); SecurityConfigBuilder maxPagesPerSession(final int maxPagesPerSession); SecurityConfigBuilder urlObfuscation(final boolean urlObfuscation); SecurityConfigBuilder pentestingActive(final boolean penTestingActive); SecurityConfigBuilder multipartIntegration(final boolean multipartIntegration); SessionExpiredConfigure sessionExpired(); HDIVConfig build(); int getMaxPagesPerSession();  }