X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=security%2Fusermgt%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Fsecurity%2Fauthentication%2FUserSet.java;h=cbe216d930abd4ba9bc7702a6775849804995410;hb=3e8de23e00da80d5506c750a28e7d25f261eda92;hp=7e6f9721e69134bbd41003f6d91ece3e0f1a5ddf;hpb=db9f2962e5c2fe846dc11292d578e6ca878e6716;p=utils diff --git a/security/usermgt/src/main/java/org/wamblee/security/authentication/UserSet.java b/security/usermgt/src/main/java/org/wamblee/security/authentication/UserSet.java index 7e6f9721..cbe216d9 100644 --- a/security/usermgt/src/main/java/org/wamblee/security/authentication/UserSet.java +++ b/security/usermgt/src/main/java/org/wamblee/security/authentication/UserSet.java @@ -12,7 +12,7 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ + */ package org.wamblee.security.authentication; import java.util.Set; @@ -38,8 +38,7 @@ public interface UserSet { * @throws UserMgtException * In case the user cannot be created. */ - User createUser(String aUsername, String aPassword) - throws UserMgtException; + User createUser(String aUsername, String aPassword) throws UserMgtException; /** * Must be called whenever a user object has been modified to notify the @@ -81,9 +80,10 @@ public interface UserSet { boolean add(User aUser); /** - * Removes a user. - * - * @param aUser User to remove + * Removes a user. + * + * @param aUser + * User to remove * @return True iff user was removed. * */ @@ -110,9 +110,9 @@ public interface UserSet { * @return The number of users. */ int size(); - + /** - * Clears the user cache. + * Clears the user cache. */ void clearCache(); }