+ /** @return the subject always non null */
+ protected Subject getSubject() {
+ Subject subject = Subject.getSubject(AccessController.getContext());
+ if (subject == null)
+ throw new ArgeoException("No subject in JAAS context");
+ return subject;
+ }
+