org.apache.jetspeed.security.impl
Class SecurityValveImpl
java.lang.Object
org.apache.jetspeed.pipeline.valve.AbstractValve
org.apache.jetspeed.security.impl.AbstractSecurityValve
org.apache.jetspeed.security.impl.SecurityValveImpl
- All Implemented Interfaces:
- SecurityValve, Valve
public class SecurityValveImpl
- extends AbstractSecurityValve
- implements SecurityValve
SecurityValve
- Version:
- $Id: SecurityValveImpl.java 544250 2007-06-04 20:30:43Z taylor $
- Author:
- David Sean Taylor , Randy Walter , Scott T. Weaver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SecurityValveImpl
public SecurityValveImpl(Profiler profiler,
UserManager userMgr,
PortalStatistics statistics,
PortalAuthenticationConfiguration authenticationConfiguration)
SecurityValveImpl
public SecurityValveImpl(Profiler profiler,
UserManager userMgr,
PortalStatistics statistics)
SecurityValveImpl
public SecurityValveImpl(Profiler profiler,
UserManager userMgr)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getSubject
protected final javax.security.auth.Subject getSubject(RequestContext request)
throws java.lang.Exception
getSubject
Check for previously established session subject and
invalidate if subject and current user principals do
not match
- Specified by:
getSubject
in class AbstractSecurityValve
- Parameters:
request
-
- Returns:
-
- Throws:
java.lang.Exception
getUserPrincipal
protected java.security.Principal getUserPrincipal(RequestContext request)
throws java.lang.Exception
getUserPrincipal
Aaccess request user principal if defined or default
to profiler anonymous user
- Specified by:
getUserPrincipal
in class AbstractSecurityValve
- Parameters:
request
-
- Returns:
-
- Throws:
java.lang.Exception
Copyright © 1999-2010 Apache Software Foundation. All Rights Reserved.