GatewayServletUtils.java revision 8af80418ba1ec431c8027fa9668e5678658d3611
/**
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2006 Sun Microsystems Inc. All Rights Reserved
*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the License). You may not use this file except in
* compliance with the License.
*
* You can obtain a copy of the License at
* See the License for the specific language governing
* permission and limitations under the License.
*
* When distributing Covered Code, include this CDDL
* Header Notice in each file and include the License file
* at opensso/legal/CDDLv1.0.txt.
* If applicable, add the following below the CDDL Header,
* with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*
* $Id: GatewayServletUtils.java,v 1.5 2008/06/25 05:43:54 qcheng Exp $
*
*/
/*
* Portions Copyrighted [2011] [ForgeRock AS]
*/
public class GatewayServletUtils implements ServiceListener {
// constructor
sConfigMgr = scm;
"-port-number";
moduleName = module;
}
/**
* This method is used to receive notifications if schema changes.
* @param serviceName the name of the service.
* @param version the version of the service.
*/
//No op.
}
/**
* This method for implementing ServiceListener.
* As this object listens for changes in schema of amConsoleService.
* this method is No-op.
* @param serviceName name of the service
* @param version version of the service
* @param groupName name of the group
* @param serviceComponent service component
* @param type type of modification
*/
public void globalConfigChanged (
int type
) {
//No op.
}
/**
* This method for implementing ServiveListener.
* As this object listens for changes in schema of amConsoleService.
* this method is No-op.
*/
public void organizationConfigChanged () {
}
/**
* This method for implementing ServiveListener.
* As this object listens for changes in schema of amConsoleService.
* this method is No-op.
*/
}
/**
* This method for implementing ServiveListener.
* As this object listens for changes in schema of amConsoleService.
* this method is No-op.
* @param serviceName name of the service
* @param version version of the service
* @param orgName name of the org
* @param groupName name of the group
* @param serviceComponent service component
* @param type type of modification
*/
public void organizationConfigChanged (
int type
) {
}
// Get the port number for Cert module
try {
if (debug.messageEnabled()) {
+ configAttrs.toString());
}
// Get the cert port number
return;
}
}
// Get cert auth level
return;
}
}
} catch (Exception e) {
}
}
/*
* This method is used to retrieve port number of Cert auth module.
*/
return info.getPortNumber();
}
/*
* This method is used to retrieve Auth Level of Cert auth module.
*/
return info.getAuthLevel();
}
/*
* This method is used to retrieve Auth Level of Cert auth module.
*/
}
return info;
}
}