git://wamblee.org
/
utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[maven-release-plugin] prepare for next development iteration
[utils]
/
security
/
src
/
main
/
java
/
org
/
wamblee
/
security
/
authorization
/
GroupUserCondition.java
diff --git
a/security/src/main/java/org/wamblee/security/authorization/GroupUserCondition.java
b/security/src/main/java/org/wamblee/security/authorization/GroupUserCondition.java
index de85067bc9e563ea9be6ed827580103561dbdcb2..c0e91896f50c6cc4476530bce8ae6b7fce24ee10 100644
(file)
--- a/
security/src/main/java/org/wamblee/security/authorization/GroupUserCondition.java
+++ b/
security/src/main/java/org/wamblee/security/authorization/GroupUserCondition.java
@@
-21,20
+21,22
@@
import org.wamblee.usermgt.User;
/**
* Checks if a user against a specific group.
/**
* Checks if a user against a specific group.
+ *
+ * @author Erik Brakkee
*/
public class GroupUserCondition extends AbstractPersistent implements UserCondition {
/**
* Group the user must be in.
*/
*/
public class GroupUserCondition extends AbstractPersistent implements UserCondition {
/**
* Group the user must be in.
*/
- private String
_
group;
+ private String group;
/**
* Constructs the condition.
* @param aGroup Group the user must be in.
*/
public GroupUserCondition(String aGroup) {
/**
* Constructs the condition.
* @param aGroup Group the user must be in.
*/
public GroupUserCondition(String aGroup) {
-
_
group = aGroup;
+ group = aGroup;
}
/**
}
/**
@@
-42,28
+44,28
@@
public class GroupUserCondition extends AbstractPersistent implements UserCondit
*
*/
protected GroupUserCondition() {
*
*/
protected GroupUserCondition() {
-
_
group = null;
+ group = null;
}
/* (non-Javadoc)
* @see org.wamblee.security.authorization.UserCondition#matches(org.wamblee.usermgt.UserAccessor)
*/
public boolean matches(User aUser) {
}
/* (non-Javadoc)
* @see org.wamblee.security.authorization.UserCondition#matches(org.wamblee.usermgt.UserAccessor)
*/
public boolean matches(User aUser) {
- return aUser.isInGroup(
_
group);
+ return aUser.isInGroup(group);
}
/**
}
/**
- * @return Returns the
_
group.
+ * @return Returns the group.
*/
protected String getGroup() {
*/
protected String getGroup() {
- return
_
group;
+ return group;
}
/**
}
/**
- * @param
_group The _
group to set.
+ * @param
group The
group to set.
*/
protected void setGroup(String aGroup) {
*/
protected void setGroup(String aGroup) {
-
_
group = aGroup;
+ group = aGroup;
}
/* (non-Javadoc)
}
/* (non-Javadoc)
@@
-71,7
+73,7
@@
public class GroupUserCondition extends AbstractPersistent implements UserCondit
*/
@Override
public String toString() {
*/
@Override
public String toString() {
- return "GroupUserCondition(group=" +
_
group + ")";
+ return "GroupUserCondition(group=" + group + ")";
}
}
}
}