org.modeshape.web.jcr
Class ServletCredentials

java.lang.Object
  extended by org.modeshape.jcr.api.SecurityContextCredentials
      extended by 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

Constructor Summary
ServletCredentials(javax.servlet.http.HttpServletRequest request)
          Deprecated. Create a ServletSecurityContext with the supplied servlet information.
 
Method Summary
 
Methods inherited from class org.modeshape.jcr.api.SecurityContextCredentials
getSecurityContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.