org.ops4j.pax.web.samples.authentication.internal
Class AuthHttpContext
java.lang.Object
org.ops4j.pax.web.samples.authentication.internal.AuthHttpContext
- All Implemented Interfaces:
- org.osgi.service.http.HttpContext
public class AuthHttpContext
- extends java.lang.Object
- implements org.osgi.service.http.HttpContext
Created by IntelliJ IDEA.
User: alin.dreghiciu
Date: Dec 10, 2007
Time: 3:12:24 PM
To change this template use File | Settings | File Templates.
| Fields inherited from interface org.osgi.service.http.HttpContext |
AUTHENTICATION_TYPE, AUTHORIZATION, REMOTE_USER |
|
Method Summary |
java.lang.String |
getMimeType(java.lang.String s)
|
java.net.URL |
getResource(java.lang.String s)
|
boolean |
handleSecurity(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthHttpContext
public AuthHttpContext()
handleSecurity
public boolean handleSecurity(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws java.io.IOException
- Specified by:
handleSecurity in interface org.osgi.service.http.HttpContext
- Throws:
java.io.IOException
getResource
public java.net.URL getResource(java.lang.String s)
- Specified by:
getResource in interface org.osgi.service.http.HttpContext
getMimeType
public java.lang.String getMimeType(java.lang.String s)
- Specified by:
getMimeType in interface org.osgi.service.http.HttpContext
Copyright © 2008. All Rights Reserved.