Interface WithSecurityContextFactory<A extends java.lang.annotation.Annotation>

    • Method Detail

      • createSecurityContext

        org.springframework.security.core.context.SecurityContext createSecurityContext​(A annotation)
        Create a SecurityContext given an Annotation.
        Parameters:
        annotation - the Annotation to create the SecurityContext from. Cannot be null.
        Returns:
        the SecurityContext to use. Cannot be null.