git://wamblee.org
/
utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
now using the simplified user management interface.
[utils]
/
security
/
impl
/
src
/
main
/
java
/
org
/
wamblee
/
security
/
authentication
/
UserSet.java
diff --git
a/security/impl/src/main/java/org/wamblee/security/authentication/UserSet.java
b/security/impl/src/main/java/org/wamblee/security/authentication/UserSet.java
index 90b3f8977b6075453594d5246b8b05d9d9968717..7e6f9721e69134bbd41003f6d91ece3e0f1a5ddf 100644
(file)
--- a/
security/impl/src/main/java/org/wamblee/security/authentication/UserSet.java
+++ b/
security/impl/src/main/java/org/wamblee/security/authentication/UserSet.java
@@
-32,15
+32,13
@@
public interface UserSet {
* User name.
* @param aPassword
* Password.
* User name.
* @param aPassword
* Password.
- * @param aGroup
- * Group.
*
* @return New user.
*
* @throws UserMgtException
* In case the user cannot be created.
*/
*
* @return New user.
*
* @throws UserMgtException
* In case the user cannot be created.
*/
- User createUser(String aUsername, String aPassword
, Group aGroup
)
+ User createUser(String aUsername, String aPassword)
throws UserMgtException;
/**
throws UserMgtException;
/**
@@
-83,9
+81,10
@@
public interface UserSet {
boolean add(User aUser);
/**
boolean add(User aUser);
/**
- * Removes a user. If the user does not exist, nothing happens.
- *
- * @param aUser
+ * Removes a user.
+ *
+ * @param aUser User to remove
+ * @return True iff user was removed.
*
*/
boolean remove(User aUser);
*
*/
boolean remove(User aUser);
@@
-111,4
+110,9
@@
public interface UserSet {
* @return The number of users.
*/
int size();
* @return The number of users.
*/
int size();
+
+ /**
+ * Clears the user cache.
+ */
+ void clearCache();
}
}