Use the Subject.Builder? Once you've created the Subject though, you have to bind it to the thread for later use during request processing. See http://shiro.apache.org/subject.html
'Custom Subject Instances' -- Les Hazlewood | @lhazlewood CTO, Stormpath | http://stormpath.com | @goStormpath | 888.391.5282 On Fri, Sep 26, 2014 at 2:35 AM, Nagaraju Kurma < [email protected]> wrote: > Hi all, > > i want to perform the authentication at service and authorization at UI. > Like i have a REST service which will just performs the authentication and > sends me the code saying that given credentials are valid, Then based on > that flag i have to make my subject as authenticated at UI side. > > Is there any way like that? > > -- > > Thanks & Regards > > Nagaraju Kurma >
