![JAR search and dependency download from the Maven repository](/logo.png)
com.evasion.ejb.local.UserAuthServiceLocal Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of API Show documentation
Show all versions of API Show documentation
API de l'application modulaire evasion-en-ligne
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.evasion.ejb.local;
import com.evasion.entity.security.Group;
import com.evasion.entity.security.User;
import java.util.Date;
import java.util.List;
import org.springframework.security.annotation.Secured;
/**
*
* @author sebastien.glon
*/
public interface UserAuthServiceLocal {
/* Interface pour la gestion des utilisateurs */
List listUsers();
@Secured("IS_AUTHENTICATED_ANONYMOUSLY")
User createUser(User u);
User findUserByUserName(String u);
void deleteUser(User u);
User updateUser(User u);
/**
* Récupération de la date de dernière connection d'un utilisateur.
* @param login nom d'utilisateur.
* @return date de dernière connection.
*/
Date lastLoginForUser(String login);
/* Interface pour la gestion des groupes */
List listGroups();
/**
* Met à jour la date de dernière connection.
* @param userName nom d'utilisateur.
*/
void updateLastLogin(String userName);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy