Package de.xima.fc.web.common.utils.auth
Class AuthHelper
java.lang.Object
de.xima.fc.web.common.utils.auth.AuthHelper
Helper class for dealing with authentication
- Since:
- 7.0.4
- Author:
- XIMA Media GmbH
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
hasAuthClientLicenseAccess
(EAuthClientType type, LicenseAccess licenseAccess) static boolean
isAnonymousAuthenticationAllowed
(Projekt project) static boolean
static boolean
static boolean
-
Method Details
-
isAnonymousAuthenticationAllowed
- Parameters:
authCtx
-IFormAuthContext
to check the access restriction for- Returns:
- whether or not anonymous access is allowed for the given authentication context
-
isAnonymousAuthenticationAllowed
- Parameters:
project
-Projekt
to check the access restriction for- Returns:
- whether or not the access to new instance of the form given by the project is restricted
-
isAnonymousAuthenticationAllowed
- Parameters:
state
-WorkflowState
to check the access restriction for- Returns:
- whether or not the access to form records in this state is restricted
-
isRedirectType
- Parameters:
type
- to check- Returns:
- whether or not the authenticator type is a redirect authenticator.
-
hasAuthClientLicenseAccess
- Parameters:
type
- to check for license accesslicenseAccess
- to check- Returns:
- whether or not the license has access for the given
EAuthClientType
.
-