Class CommonAspect
- java.lang.Object
-
- org.pac4j.springframework.annotation.CommonAspect
-
- Direct Known Subclasses:
UIAnnotationAspect
,WSAnnotationAspect
public class CommonAspect extends Object
Common aspect behaviors.- Since:
- 3.2.0
- Author:
- Jerome Leleu
-
-
Constructor Summary
Constructors Constructor Description CommonAspect()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<org.pac4j.core.profile.CommonProfile>
isAuthenticated(boolean readFromSession)
protected void
requireAllRoles(boolean readFromSession, String... roles)
protected void
requireAnyRole(boolean readFromSession, String... roles)
-
-
-
Method Detail
-
isAuthenticated
protected List<org.pac4j.core.profile.CommonProfile> isAuthenticated(boolean readFromSession)
-
requireAnyRole
protected void requireAnyRole(boolean readFromSession, String... roles)
-
requireAllRoles
protected void requireAllRoles(boolean readFromSession, String... roles)
-
-