INNER CODE UNIT · Java

RequireRoleAnnotationAspect

pac4j/spring-webmvc-pac4j · src/main/java/org/pac4j/springframework/annotation/RequireRoleAnnotationAspect.java:26

public class RequireRoleAnnotationAspect {

    private static final IsAuthenticatedAuthorizer IS_AUTHENTICATED_AUTHORIZER = new IsAuthenticatedAuthorizer();

    @Autowired
    private JEEContext webContext;

    @Autowired
    private SessionStore sessionStore;

    @Autowired
    private ProfileManager profileManager;

    /**
     * Check if the user is authenticated and return its profiles if so.
     *
     * @return the user profiles
     */

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…