1
|
/**
|
2
|
* Copyright (C) 2009 EDIT
|
3
|
* European Distributed Institute of Taxonomy
|
4
|
* http://www.e-taxonomy.eu
|
5
|
*
|
6
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
7
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
8
|
*/
|
9
|
|
10
|
package eu.etaxonomy.cdm.api.service;
|
11
|
|
12
|
import java.util.UUID;
|
13
|
|
14
|
import org.springframework.dao.DataAccessException;
|
15
|
import org.springframework.security.core.GrantedAuthority;
|
16
|
import org.springframework.security.core.userdetails.UsernameNotFoundException;
|
17
|
import org.springframework.security.provisioning.GroupManager;
|
18
|
import org.springframework.security.provisioning.UserDetailsManager;
|
19
|
|
20
|
import eu.etaxonomy.cdm.model.common.Group;
|
21
|
import eu.etaxonomy.cdm.model.common.User;
|
22
|
|
23
|
public interface IUserService extends IService<User>, UserDetailsManager, GroupManager {
|
24
|
|
25
|
public void changePasswordForUser(String username, String password) throws UsernameNotFoundException, DataAccessException;
|
26
|
|
27
|
public UUID saveGrantedAuthority(GrantedAuthority grantedAuthority);
|
28
|
|
29
|
public UUID saveGroup(Group group);
|
30
|
}
|