org.drools.guvnor.server.files
Class RepositoryServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.drools.guvnor.server.files.RepositoryServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
Direct Known Subclasses:
ActionsAPIServlet, AssetFileServlet, FeedServlet, PackageDeploymentServlet, RepositoryBackupServlet, RestAPIServlet

public class RepositoryServlet
extends javax.servlet.http.HttpServlet

This is a base servlet that all repo servlets inherit behaviour from.

See Also:
Serialized Form

Constructor Summary
RepositoryServlet()
           
 
Method Summary
static boolean allowUser(String auth)
          Check the users credentials.
static FileManagerUtils getFileManager()
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryServlet

public RepositoryServlet()
Method Detail

getFileManager

public static FileManagerUtils getFileManager()

allowUser

public static boolean allowUser(String auth)
Check the users credentials. This takes the Authorization string from the HTTP request header (the whole lot). uses Seam Identity component to set the user up.



Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.