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