01: package ru.emdev.EmForge.security;
02:
03: import java.util.Collection;
04:
05: import org.acegisecurity.userdetails.UserDetails;
06: import org.acegisecurity.userdetails.UserDetailsService;
07:
08: /**
09: * Extends UserDetails with ability to get the list of all users
10: */
11: public interface EmForgeUserDetailsService extends UserDetailsService {
12:
13: /**
14: * Gets all users, holded by this service
15: *
16: * @return collection of UserDetails
17: */
18: public Collection<UserDetails> getAllUsers();
19: }
|