org.modeshape.web.jcr
Class ServletCredentials
java.lang.Object
org.modeshape.jcr.api.SecurityContextCredentials
org.modeshape.web.jcr.ServletCredentials
- All Implemented Interfaces:
- Serializable, Credentials
Deprecated. Use ServletCredentials
instead
@Deprecated
public class ServletCredentials
- extends SecurityContextCredentials
A Credentials
implementation that assumes servlet-based authentication and provides authorization through the
servlet role-checking mechanism
.
These credentials are really only valid for the life of the servlet request
, and thus should be used
to obtain a Session for each request.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletCredentials
public ServletCredentials(javax.servlet.http.HttpServletRequest request)
- Deprecated.
- Create a
ServletSecurityContext
with the supplied servlet information
.
- Parameters:
request
- the servlet request; may not be null
Copyright © 2008-2011 JBoss, a division of Red Hat. All Rights Reserved.