All Downloads are FREE. Search and download functionalities are using the official Maven repository.

security.sessionhandlerinterface.ftl Maven / Gradle / Ivy

The newest version!
/**
* 	Warning!
*
* 	Generated source file. Changes in this file will be overwritten 
*		next time a generation is performed 
*
**/

package ${package}.security;

import ${package}.process.AbstractProcess;

public interface ISessionHandler {
	public static enum ROLE {ADMIN, USER, ANONYMOUS}	

	public boolean addSession(String session, ROLE role);
	
	public boolean removeSession(String session);

	public boolean hasValidSessionAndRole(String session, AbstractProcess.TYPE type, Class clazz, Class clazzAttachDetach);
	
	public boolean validateRole(ROLE role, AbstractProcess.TYPE type, Class clazz, Class clazzAttachDetach);
	
	<#list modelgroups as object>
		public boolean validateI${object.getName()}(ROLE role, AbstractProcess.TYPE type, Class clazzAttachDetach);
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy