Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.9.0
-
None
-
None
Description
var principals = new SimplePrincipalCollection(123, "asd"); var subject = new Subject.Builder().principals(principals).sessionCreationEnabled(false).buildSubject();
This fails because the `DefaultSecurityManager` calls `save(subject);` which in turn saves something to the session of the subject. But a session can't be created so this blows up.
Is this by design or is it a bug?