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:
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

Field Summary
private static String ATTRIBUTES_TO_ENCRYPT_PROPERTIES
           
private static String CHECK_OJB_ENCRYPT_CONFIG
           
private static org.apache.log4j.Logger LOG
           
 
Constructor Summary
PostDataLoadEncryptionServlet()
           
 
Method Summary
 void execute(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
 

Field Detail

LOG

private static final org.apache.log4j.Logger LOG

ATTRIBUTES_TO_ENCRYPT_PROPERTIES

private static final String ATTRIBUTES_TO_ENCRYPT_PROPERTIES
See Also:
Constant Field Values

CHECK_OJB_ENCRYPT_CONFIG

private static final String CHECK_OJB_ENCRYPT_CONFIG
See Also:
Constant Field Values
Constructor Detail

PostDataLoadEncryptionServlet

public PostDataLoadEncryptionServlet()
Method Detail

service

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

execute

public void execute(String attributesToEncryptPropertyFileName,
                    boolean checkOjbEncryptConfig)


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