diff --git a/src/org/kar/archidata/filter/GenericContext.java b/src/org/kar/archidata/filter/GenericContext.java index 4938741..a14443e 100644 --- a/src/org/kar/archidata/filter/GenericContext.java +++ b/src/org/kar/archidata/filter/GenericContext.java @@ -19,4 +19,11 @@ public class GenericContext implements Principal { } return this.userByToken.name; } + + public Long getUserID() { + if (this.userByToken != null) { + return this.userByToken.id; + } + return null; + } }