Class AbstractUserCodeAccessControllerType
java.lang.Object
fr.paris.lutece.plugins.accesscontrol.service.AbstractUserCodeAccessControllerType
- All Implemented Interfaces:
IAccessControllerType
- Direct Known Subclasses:
LuteceUserCodeAccessControllerType,UserCodeAccessControllerType
public abstract class AbstractUserCodeAccessControllerType
extends Object
implements IAccessControllerType
Abstract
IAccessControllerType for UserCodeAccessControllerType & LuteceUserCodeAccessControllerType-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteConfig(int idController) Delete the config of the controllergetControllerConfigForm(jakarta.servlet.http.HttpServletRequest request, Locale locale, AccessController controller) Get the html form for the config of the controller.getControllerForm(jakarta.servlet.http.HttpServletRequest request, Locale locale, AccessController controller) Get the html form for the config of the controller.booleanIndicates if the controllerType needs a configvoidsaveControllerConfig(jakarta.servlet.http.HttpServletRequest request, Locale locale, AccessController controller) Save the config of the controller.validate(jakarta.servlet.http.HttpServletRequest request, AccessController controller) Validate the controllerMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface fr.paris.lutece.plugins.accesscontrol.service.IAccessControllerType
getBeanName, getTitle
-
Constructor Details
-
AbstractUserCodeAccessControllerType
public AbstractUserCodeAccessControllerType()
-
-
Method Details
-
hasConfig
public boolean hasConfig()Description copied from interface:IAccessControllerTypeIndicates if the controllerType needs a config- Specified by:
hasConfigin interfaceIAccessControllerType- Returns:
-
deleteConfig
public void deleteConfig(int idController) Description copied from interface:IAccessControllerTypeDelete the config of the controller- Specified by:
deleteConfigin interfaceIAccessControllerType
-
getControllerConfigForm
public String getControllerConfigForm(jakarta.servlet.http.HttpServletRequest request, Locale locale, AccessController controller) Description copied from interface:IAccessControllerTypeGet the html form for the config of the controller.- Specified by:
getControllerConfigFormin interfaceIAccessControllerType- Returns:
-
saveControllerConfig
public void saveControllerConfig(jakarta.servlet.http.HttpServletRequest request, Locale locale, AccessController controller) Description copied from interface:IAccessControllerTypeSave the config of the controller.- Specified by:
saveControllerConfigin interfaceIAccessControllerType
-
getControllerForm
public String getControllerForm(jakarta.servlet.http.HttpServletRequest request, Locale locale, AccessController controller) Description copied from interface:IAccessControllerTypeGet the html form for the config of the controller. if there is nothing to ask or display to the user And to skip form return null- Specified by:
getControllerFormin interfaceIAccessControllerType- Returns:
- controllerForm
-
validate
public String validate(jakarta.servlet.http.HttpServletRequest request, AccessController controller) throws fr.paris.lutece.portal.service.security.UserNotSignedException Description copied from interface:IAccessControllerTypeValidate the controller- Specified by:
validatein interfaceIAccessControllerType- Returns:
- null if OK, an error message otherwise
- Throws:
fr.paris.lutece.portal.service.security.UserNotSignedException
-