Is there any reason why DelegatingSubject does not use its own
getSecurityManager() getter to retrieve a reference to its security manager
and uses this.securityManager everywhere instead?

I am currently writing a custom Subject implementation that retrieves its
reference to the security manager from elsewhere (so it's not internally
kept in the class) and all I would need to do is extend DelegatingSubject
and override getSecurityManager() if it was used, but right now it's pretty
much impossible to reuse DelegatingSubject.

For some background, the application is a Play 2.0 application where the
security manager comes from the Global class instead of being an attribute
of the Subject class.



--
View this message in context: 
http://shiro-user.582556.n2.nabble.com/DelegatingSubject-getSecurityManager-tp7577783.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to