/** * Get the System Property * @param key key of the system property * @param defaultValue default value to be returned if the system property is not set * @return */ public static String getSystemProperty(final String key, final String defaultValue){ return SecurityActions.getSystemProperty(key,defaultValue); } }
subString = subString.substring(0, index); sysPropertyValue = SecurityActions.getSystemProperty(subString, defaultValue); if (sysPropertyValue.isEmpty())
subString = subString.substring(0, index); sysPropertyValue = SecurityActions.getSystemProperty(subString, defaultValue); if (sysPropertyValue.isEmpty())
subString = subString.substring(0, index); sysPropertyValue = SecurityActions.getSystemProperty(subString, defaultValue); if (sysPropertyValue.isEmpty()) { throw logger.systemPropertyMissingError(matcher.group(1));
/** * Based on system property "picketlink.schema.validate" set to "true", do schema validation * * @param samlDocument * @throws ProcessingException */ public static void checkSchemaValidation(Node samlDocument) throws ProcessingException { if (SecurityActions.getSystemProperty("picketlink.schema.validate", "false").equalsIgnoreCase("true")) { try { JAXPValidationUtil.validate(DocumentUtil.getNodeAsStream(samlDocument)); } catch (Exception e) { throw logger.processingError(e); } } }
/** * Based on system property "picketlink.schema.validate" set to "true", do schema validation * * @param samlDocument * * @throws ProcessingException */ public static void checkSchemaValidation(Node samlDocument) throws ProcessingException { if (SecurityActions.getSystemProperty("picketlink.schema.validate", "false").equalsIgnoreCase("true")) { try { JAXPValidationUtil.validate(DocumentUtil.getNodeAsStream(samlDocument)); } catch (Exception e) { throw logger.processingError(e); } } }
/** * Based on system property "picketlink.schema.validate" set to "true", do schema validation * * @param samlDocument * * @throws ProcessingException */ public static void checkSchemaValidation(Node samlDocument) throws ProcessingException { if (SecurityActions.getSystemProperty("picketlink.schema.validate", "false").equalsIgnoreCase("true")) { try { JAXPValidationUtil.validate(DocumentUtil.getNodeAsStream(samlDocument)); } catch (Exception e) { throw logger.processingError(e); } } }
/** * Based on system property "picketlink.schema.validate" set to "true", * do schema validation * @param samlDocument * @throws ProcessingException */ public static void checkSchemaValidation(Node samlDocument) throws ProcessingException { if (SecurityActions.getSystemProperty("picketlink.schema.validate", "false").equalsIgnoreCase("true")) { try { JAXPValidationUtil.validate(DocumentUtil.getNodeAsStream(samlDocument)); } catch (Exception e) { throw new ProcessingException(e); } } }
/** * Based on system property "picketlink.schema.validate" set to "true", * do schema validation * @param samlDocument * @throws ProcessingException */ public static void checkSchemaValidation(Node samlDocument) throws ProcessingException { if (SecurityActions.getSystemProperty("picketlink.schema.validate", "false").equalsIgnoreCase("true")) { try { JAXPValidationUtil.validate(DocumentUtil.getNodeAsStream(samlDocument)); } catch (Exception e) { throw new ProcessingException(e); } } }
if (SecurityActions.getSystemProperty("org.picketlink.identity.federation.jaxb.ls", null) == null) scFact.setResourceResolver(new IDFedLSInputResolver());
if (SecurityActions.getSystemProperty("org.picketlink.identity.federation.jaxb.ls", null) == null) scFact.setResourceResolver(new IDFedLSInputResolver());
if (SecurityActions.getSystemProperty("org.picketlink.identity.federation.jaxb.ls", null) == null) scFact.setResourceResolver(new IDFedLSInputResolver());
if (SecurityActions.getSystemProperty("org.picketlink.identity.federation.jaxb.ls", null) == null) scFact.setResourceResolver(new IDFedLSInputResolver());
if (SecurityActions.getSystemProperty("org.picketlink.identity.federation.jaxb.ls", null) == null) scFact.setResourceResolver(new IDFedLSInputResolver());