Class RemoteAuthConfig

  • All Implemented Interfaces:
    java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class RemoteAuthConfig
    extends CMSServlet
    Allow agent to turn on/off authentication managers
    Version:
    $Revision$, $Date$
    See Also:
    Serialized Form
    • Constructor Detail

      • RemoteAuthConfig

        public RemoteAuthConfig()
        Constructs RemoteAuthConfig servlet.
    • Method Detail

      • init

        public void init​(javax.servlet.ServletConfig sc)
                  throws javax.servlet.ServletException
        Initializes the servlet. Presence of "auths.enableRemoteConfiguration=true" in CMS.cfg enables remote configuration for authentication plugins. List of remotely set instances can be found in CMS.cfg at "auths.remotelySetInstances=,,...,"
        Specified by:
        init in interface javax.servlet.Servlet
        Overrides:
        init in class CMSServlet
        Throws:
        javax.servlet.ServletException
      • process

        public void process​(CMSRequest cmsReq)
                     throws EBaseException
        Serves HTTPS request. The format of this request is as follows: https://host:ee-port/remoteAuthConfig? op="add"|"delete"& instance=& of=& host=& port=& password=& [adminDN=]& [uid=]& [baseDN=]
        Overrides:
        process in class CMSServlet
        Throws:
        EBaseException - if the servlet was unable to satisfactorily process the request