Class ServletCredentials

  extended by org.modeshape.jcr.api.SecurityContextCredentials
      extended by org.modeshape.web.jcr.ServletCredentials
All Implemented Interfaces:
Serializable, Credentials

Deprecated. Use ServletCredentials instead

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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public ServletCredentials(javax.servlet.http.HttpServletRequest request)
Create a ServletSecurityContext with the supplied servlet information.

request - the servlet request; may not be null

Copyright © 2008-2011 JBoss, a division of Red Hat. All Rights Reserved.