Browse files

added setSuperUser to Caller

  • Loading branch information...
1 parent 39d82ac commit 145a40449308171d95f40e72070a38278b82401b @pauloricardomg pauloricardomg committed Aug 2, 2010
View
2 service-api/java/source/src/org/nimbustools/api/_repr/_Caller.java
@@ -31,4 +31,6 @@
* @param subject from JAAS etc (presumably), may be null
*/
public void setSubject(Subject subject);
+
+ public void setSuperUser(boolean superuser);
}
View
4 service-api/java/source/src/org/nimbustools/api/defaults/repr/DefaultCaller.java
@@ -56,6 +56,10 @@ public void setIdentity(String identity) {
this.superuser = (identity == null);
}
+ public void setSuperUser(boolean superuser) {
+ this.superuser = superuser;
+ }
+
public void setSubject(Subject subject) {
this.subject = subject;
}

0 comments on commit 145a404

Please sign in to comment.