@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } AuthConfig that = (AuthConfig) o; return isAllowUnauthenticatedHttpOptions() == that.isAllowUnauthenticatedHttpOptions() && Objects.equals(getAuthenticatorChain(), that.getAuthenticatorChain()) && Objects.equals(getAuthorizers(), that.getAuthorizers()) && Objects.equals(getUnsecuredPaths(), that.getUnsecuredPaths()); }
@Override public int hashCode() { return Objects.hash( getAuthenticatorChain(), getAuthorizers(), getUnsecuredPaths(), isAllowUnauthenticatedHttpOptions() ); }
AuthenticationUtils.addAuthenticationFilterChain(root, authenticators); AuthenticationUtils.addAllowOptionsFilter(root, authConfig.isAllowUnauthenticatedHttpOptions());
AuthenticationUtils.addAuthenticationFilterChain(root, authenticators); AuthenticationUtils.addAllowOptionsFilter(root, authConfig.isAllowUnauthenticatedHttpOptions());
AuthenticationUtils.addAuthenticationFilterChain(root, authenticators); AuthenticationUtils.addAllowOptionsFilter(root, authConfig.isAllowUnauthenticatedHttpOptions());
AuthenticationUtils.addAuthenticationFilterChain(root, authenticators); AuthenticationUtils.addAllowOptionsFilter(root, authConfig.isAllowUnauthenticatedHttpOptions());
AuthenticationUtils.addAuthenticationFilterChain(root, authenticators); AuthenticationUtils.addAllowOptionsFilter(root, authConfig.isAllowUnauthenticatedHttpOptions());
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } AuthConfig that = (AuthConfig) o; return isAllowUnauthenticatedHttpOptions() == that.isAllowUnauthenticatedHttpOptions() && Objects.equals(getAuthenticatorChain(), that.getAuthenticatorChain()) && Objects.equals(getAuthorizers(), that.getAuthorizers()) && Objects.equals(getUnsecuredPaths(), that.getUnsecuredPaths()); }
@Override public int hashCode() { return Objects.hash( getAuthenticatorChain(), getAuthorizers(), getUnsecuredPaths(), isAllowUnauthenticatedHttpOptions() ); }
AuthenticationUtils.addAuthenticationFilterChain(root, authenticators); AuthenticationUtils.addAllowOptionsFilter(root, authConfig.isAllowUnauthenticatedHttpOptions());
AuthenticationUtils.addAuthenticationFilterChain(root, authenticators); AuthenticationUtils.addAllowOptionsFilter(root, authConfig.isAllowUnauthenticatedHttpOptions());
AuthenticationUtils.addAuthenticationFilterChain(root, authenticators); AuthenticationUtils.addAllowOptionsFilter(root, authConfig.isAllowUnauthenticatedHttpOptions());
AuthenticationUtils.addAuthenticationFilterChain(root, authenticators); AuthenticationUtils.addAllowOptionsFilter(root, authConfig.isAllowUnauthenticatedHttpOptions());
AuthenticationUtils.addAuthenticationFilterChain(root, authenticators); AuthenticationUtils.addAllowOptionsFilter(root, authConfig.isAllowUnauthenticatedHttpOptions());