Class ShiroSecurityContext


  • public class ShiroSecurityContext
    extends Object
    Security context that is simply a thin wrapper around a Shiro Subject.
    Author:
    peichman
    • Constructor Detail

      • ShiroSecurityContext

        public ShiroSecurityContext​(org.apache.shiro.subject.Subject user)
        Create a new security context using the given Shiro subject. That subject will typically be the value returned by a call to SecurityUtils.getSubject().
        Parameters:
        user - subject to create the security context for