|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.modeshape.jcr.api.ServletCredentials
public class ServletCredentials
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.
Note that this class can only be used if the HttpServletRequest
class is on the classpath.
Constructor Summary | |
---|---|
ServletCredentials(HttpServletRequest request)
Create a Credentials using the supplied servlet information . |
Method Summary | |
---|---|
HttpServletRequest |
getRequest()
Get the Servlet request that this credentials applies to. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServletCredentials(HttpServletRequest request)
Credentials
using the supplied servlet information
.
request
- the servlet requestMethod Detail |
---|
public HttpServletRequest getRequest()
|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |