public final class SecurityUtils
extends java.lang.Object
| Modifier | Constructor and Description | 
|---|---|
| protected  | SecurityUtils()Protected constructor for utility class. | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | buildAPIHttpSecurity(org.springframework.security.config.annotation.web.builders.HttpSecurity http,
                    X509UserDetailsService x509UserDetailsService,
                    java.lang.String actuatorEndpoint)Build the common API HTTP security. | 
public static void buildAPIHttpSecurity(@NotNull
                                        org.springframework.security.config.annotation.web.builders.HttpSecurity http,
                                        @NotNull
                                        X509UserDetailsService x509UserDetailsService,
                                        @NotBlank
                                        java.lang.String actuatorEndpoint)
                                 throws java.lang.Exception
http - The http security object to usex509UserDetailsService - The x509 authentication user details service to useactuatorEndpoint - The endpoint where the Spring Actuator sitsjava.lang.Exception - when there is a problem configuring HTTP errors