Package org.fcrepo.auth.common
Class ShiroSecurityContext
- java.lang.Object
-
- org.fcrepo.auth.common.ShiroSecurityContext
-
public class ShiroSecurityContext extends Object
Security context that is simply a thin wrapper around a Shiro Subject.- Author:
- peichman
-
-
Constructor Summary
Constructors Constructor Description ShiroSecurityContext(org.apache.shiro.subject.Subject user)Create a new security context using the given Shiro subject.
-
-
-
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 toSecurityUtils.getSubject().- Parameters:
user- subject to create the security context for
-
-