git://wamblee.org
/
utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(no commit message)
[utils]
/
security
/
impl
/
src
/
main
/
java
/
org
/
wamblee
/
security
/
authorization
/
UserCondition.java
diff --git
a/security/impl/src/main/java/org/wamblee/security/authorization/UserCondition.java
b/security/impl/src/main/java/org/wamblee/security/authorization/UserCondition.java
index 9f0963b7dc86b9d2762d74f190afab6fd3c436f5..af0feb041809d95b08c5f419f62396d8a2aefa48 100644
(file)
--- a/
security/impl/src/main/java/org/wamblee/security/authorization/UserCondition.java
+++ b/
security/impl/src/main/java/org/wamblee/security/authorization/UserCondition.java
@@
-15,16
+15,21
@@
*/
package org.wamblee.security.authorization;
*/
package org.wamblee.security.authorization;
-import org.wamblee.persistence.Persistent;
-
-import org.wamblee.usermgt.User;
+import org.wamblee.security.authentication.UserAdministration;
/**
* Condition used to match a user against a specified set of users.
*
* @author Erik Brakkee
*/
/**
* Condition used to match a user against a specified set of users.
*
* @author Erik Brakkee
*/
-public interface UserCondition extends Persistent {
+public interface UserCondition {
+
+ /**
+ * Sets the user administration object.
+ * @param aAdmin User administration.
+ */
+ void setUserAdmin(UserAdministration aAdmin);
+
/**
* Determines if the condition matches.
*
/**
* Determines if the condition matches.
*
@@
-33,5
+38,6
@@
public interface UserCondition extends Persistent {
*
* @return True if the condition matches, false otherwise.
*/
*
* @return True if the condition matches, false otherwise.
*/
- boolean matches(User aUser);
-}
+ boolean matches(String aUser);
+
+}
\ No newline at end of file