Class IsAuthenticatedByClientAuthorizer
- java.lang.Object
-
- org.pac4j.core.authorization.authorizer.ProfileAuthorizer
-
- org.pac4j.core.authorization.authorizer.AbstractCheckAuthenticationAuthorizer
-
- de.xima.fc.web.common.auth.authorizer.IsAuthenticatedByClientAuthorizer
-
- All Implemented Interfaces:
org.pac4j.core.authorization.authorizer.Authorizer
public class IsAuthenticatedByClientAuthorizer extends org.pac4j.core.authorization.authorizer.AbstractCheckAuthenticationAuthorizer
Checks the client name of the profile- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Static 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)
static IsAuthenticatedByClientAuthorizer
isClient(String clientName)
protected boolean
isProfileAuthorized(org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore, org.pac4j.core.profile.UserProfile profile)
-
Methods inherited from class org.pac4j.core.authorization.authorizer.AbstractCheckAuthenticationAuthorizer
getRedirectionUrl, handleError, setRedirectionUrl, toString
-
-
-
-
Method Detail
-
isClient
public static IsAuthenticatedByClientAuthorizer isClient(String clientName)
-
isAuthorized
public boolean isAuthorized(org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore, List<org.pac4j.core.profile.UserProfile> profiles)
-
isProfileAuthorized
protected boolean isProfileAuthorized(org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore, org.pac4j.core.profile.UserProfile profile)
- Specified by:
isProfileAuthorized
in classorg.pac4j.core.authorization.authorizer.ProfileAuthorizer
-
-