org.kuali.rice.kns.web.servlet
Class PostDataLoadEncryptionServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.kuali.rice.kns.web.servlet.PostDataLoadEncryptionServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class PostDataLoadEncryptionServlet
extends javax.servlet.http.HttpServlet

This is a servlet that can be used to invoke the PostDataLoadEncryptionService. It is not recommended to leave this Servlet running at all times. It is really only intended to be made available during initial data load and then removed (from the web.xml of the application) after data load and encryption is complete. This was done as a Servlet for now because Rice does not have a batch runner yet similar to what KFS has (which is where a lot of the code below was borrowed from).

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Constructor Summary
PostDataLoadEncryptionServlet()
           
 
Method Summary
 void execute(java.lang.String attributesToEncryptPropertyFileName, boolean checkOjbEncryptConfig)
           
 void service(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, 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

PostDataLoadEncryptionServlet

public PostDataLoadEncryptionServlet()
Method Detail

service

public void service(javax.servlet.ServletRequest request,
                    javax.servlet.ServletResponse response)
             throws javax.servlet.ServletException,
                    java.io.IOException
Specified by:
service in interface javax.servlet.Servlet
Overrides:
service in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException

execute

public void execute(java.lang.String attributesToEncryptPropertyFileName,
                    boolean checkOjbEncryptConfig)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.