2 * Copyright (C) 2009 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
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.
10 package eu
.etaxonomy
.cdm
.api
.service
;
12 import java
.util
.UUID
;
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
;
20 import eu
.etaxonomy
.cdm
.model
.common
.Group
;
21 import eu
.etaxonomy
.cdm
.model
.common
.User
;
23 public interface IUserService
extends IService
<User
>, UserDetailsManager
, GroupManager
{
25 public void changePasswordForUser(String username
, String password
) throws UsernameNotFoundException
, DataAccessException
;
27 public UUID
saveGrantedAuthority(GrantedAuthority grantedAuthority
);
29 public UUID
saveGroup(Group group
);