shiro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Les Hazlewood <lhazlew...@apache.org>
Subject Re: Subject being changed!
Date Wed, 14 Mar 2012 17:57:57 GMT
> Here's the stacktrace.  You're a step ahead of me!  I guess I didn't realize
> a session would be created when I just ask for it to build a new subject.

It won't.  Just building a Subject will not automatically create a
Session.  You have to call subject.getSession() or
subject.getSession(true) to create a session if the Subject does not
already have one.

Cheers,

Les

Mime
View raw message