Package com.axelor.auth.pac4j
Class AxelorUserAuthorizer
- java.lang.Object
-
- com.axelor.auth.pac4j.AxelorUserAuthorizer
-
- All Implemented Interfaces:
org.pac4j.core.authorization.authorizer.Authorizer
@Singleton public class AxelorUserAuthorizer extends Object implements org.pac4j.core.authorization.authorizer.Authorizer
-
-
Field Summary
Fields Modifier and Type Field Description static String
USER_AUTHORIZER_NAME
-
Constructor Summary
Constructors Constructor Description AxelorUserAuthorizer(AuthSessionService authSessionService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isAuthorized(org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore, List<org.pac4j.core.profile.UserProfile> profiles)
-
-
-
Field Detail
-
USER_AUTHORIZER_NAME
public static final String USER_AUTHORIZER_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AxelorUserAuthorizer
@Inject public AxelorUserAuthorizer(AuthSessionService authSessionService)
-
-
Method Detail
-
isAuthorized
public boolean isAuthorized(org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore, List<org.pac4j.core.profile.UserProfile> profiles)
- Specified by:
isAuthorized
in interfaceorg.pac4j.core.authorization.authorizer.Authorizer
-
-