* @return Object used
* @throws SecurityException catch this if exist error
*/
private it.eng.spagobi.services.security.stub.SecurityService lookUp() throws SecurityException {
it.eng.spagobi.services.security.stub.SecurityService service;
SecurityServiceServiceLocator locator;
service = null;
try {
locator = new SecurityServiceServiceLocator();
if (serviceUrl != null) {
service = locator.getSecurityService( serviceUrl );
} else {
service = locator.getSecurityService();
}
} catch (Throwable e) {
logger.error("Impossible to locate [" + SERVICE_NAME + "] at [" + serviceUrl + "]");
throw new SecurityException("Impossible to locate [" + SERVICE_NAME + "] at [" + serviceUrl + "]", e);
}