public class JAXPValidationUtil extends Object
Modifier and Type | Field and Description |
---|---|
protected static SchemaFactory |
schemaFactory |
protected static Validator |
validator |
Constructor and Description |
---|
JAXPValidationUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
checkSchemaValidation(Node samlDocument)
Based on system property "picketlink.schema.validate" set to "true", do schema validation
|
static void |
validate(InputStream stream) |
static void |
validate(String str) |
static Validator |
validator() |
protected static Validator validator
protected static SchemaFactory schemaFactory
public static void validate(String str) throws SAXException, IOException
SAXException
IOException
public static void validate(InputStream stream) throws SAXException, IOException
SAXException
IOException
public static void checkSchemaValidation(Node samlDocument) throws ProcessingException
samlDocument
- ProcessingException
public static Validator validator() throws SAXException, IOException
SAXException
IOException
Copyright © 2017 JBoss by Red Hat. All rights reserved.