Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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