org.ops4j.pax.web.samples.authentication.internal
Class AuthHttpContext

java.lang.Object
  extended by 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.


Field Summary
 
Fields inherited from interface org.osgi.service.http.HttpContext
AUTHENTICATION_TYPE, AUTHORIZATION, REMOTE_USER
 
Constructor Summary
AuthHttpContext()
           
 
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
 

Constructor Detail

AuthHttpContext

public AuthHttpContext()
Method Detail

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 © 2006-2011 OPS4J - Open Participation Software for Java. All Rights Reserved.