public final class ValidatableTokenFactory extends Object
| Constructor and Description |
|---|
ValidatableTokenFactory() |
| Modifier and Type | Method and Description |
|---|---|
ValidatableSamlToken |
parseValidatableToken(Element tokenRoot)
Create a ValidatableSamlToken object from DOM Element, performing
syntactic and semantical validation of the XML tree.
|
ValidatableSamlTokenEx |
parseValidatableTokenEx(Element tokenRoot)
Create a ValidatableSamlToken object from DOM Element, performing
syntactic and semantical validation of the XML tree.
|
public ValidatableSamlToken parseValidatableToken(Element tokenRoot) throws InvalidTokenException
The token will retain a copy of the original element (not the element itself).
tokenRoot - The root element of the subtree containing the SAML token.InvalidTokenException - Indicates syntactic (e.g. contains invalid elements or missing
required elements) or semantic (e.g. subject name in unknown
format) error, expired or not yet valid token.public ValidatableSamlTokenEx parseValidatableTokenEx(Element tokenRoot) throws InvalidTokenException
The token will retain a copy of the original element (not the element itself).
tokenRoot - The root element of the subtree containing the SAML token.InvalidTokenException - Indicates syntactic (e.g. contains invalid elements or missing
required elements) or semantic (e.g. subject name in unknown
format) error, expired or not yet valid token.Copyright © 2016. All rights reserved.