org.picketlink.identity.federation.core.parsers.config
Class SAMLConfigParser
java.lang.Object
org.picketlink.identity.federation.core.parsers.AbstractParser
org.picketlink.identity.federation.core.parsers.config.SAMLConfigParser
- All Implemented Interfaces:
- ParserNamespaceSupport
public class SAMLConfigParser
- extends AbstractParser
Parse the SAML IDP/SP config as well as the handlers
- Since:
- Feb 4, 2011
- Author:
- Anil.Saldhana@redhat.com
Methods inherited from class org.picketlink.identity.federation.core.parsers.AbstractParser |
parse |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BINDING_TYPE
public static final String BINDING_TYPE
- See Also:
- Constant Field Values
ERROR_PAGE
public static final String ERROR_PAGE
- See Also:
- Constant Field Values
LOGOUT_PAGE
public static final String LOGOUT_PAGE
- See Also:
- Constant Field Values
IDP
public static final String IDP
- See Also:
- Constant Field Values
SP
public static final String SP
- See Also:
- Constant Field Values
IDENTITY_URL
public static final String IDENTITY_URL
- See Also:
- Constant Field Values
SERVICE_URL
public static final String SERVICE_URL
- See Also:
- Constant Field Values
IDP_METADATA_FILE
public static final String IDP_METADATA_FILE
- See Also:
- Constant Field Values
IDP_USES_POST_BINDING
public static final String IDP_USES_POST_BINDING
- See Also:
- Constant Field Values
TRUST
public static final String TRUST
- See Also:
- Constant Field Values
DOMAINS
public static final String DOMAINS
- See Also:
- Constant Field Values
KEY_PROVIDER
public static final String KEY_PROVIDER
- See Also:
- Constant Field Values
META_PROVIDER
public static final String META_PROVIDER
- See Also:
- Constant Field Values
CLASS_NAME
public static final String CLASS_NAME
- See Also:
- Constant Field Values
CLASS
public static final String CLASS
- See Also:
- Constant Field Values
AUTH
public static final String AUTH
- See Also:
- Constant Field Values
KEY
public static final String KEY
- See Also:
- Constant Field Values
VALUE
public static final String VALUE
- See Also:
- Constant Field Values
VALIDATING_ALIAS
public static final String VALIDATING_ALIAS
- See Also:
- Constant Field Values
ROLE_GENERATOR
public static final String ROLE_GENERATOR
- See Also:
- Constant Field Values
ENCRYPT
public static final String ENCRYPT
- See Also:
- Constant Field Values
ATTRIBUTE_MANAGER
public static final String ATTRIBUTE_MANAGER
- See Also:
- Constant Field Values
CANONICALIZATION_METHOD
public static final String CANONICALIZATION_METHOD
- See Also:
- Constant Field Values
HANDLERS
public static final String HANDLERS
- See Also:
- Constant Field Values
HANDLERS_CHAIN_CLASS
public static final String HANDLERS_CHAIN_CLASS
- See Also:
- Constant Field Values
HANDLER
public static final String HANDLER
- See Also:
- Constant Field Values
OPTION
public static final String OPTION
- See Also:
- Constant Field Values
RELAY_STATE
public static final String RELAY_STATE
- See Also:
- Constant Field Values
SERVER_ENVIRONMENT
public static final String SERVER_ENVIRONMENT
- See Also:
- Constant Field Values
SUPPORTS_SIGNATURES
public static final String SUPPORTS_SIGNATURES
- See Also:
- Constant Field Values
IDENTITY_PARTICIPANT_STACK
public static final String IDENTITY_PARTICIPANT_STACK
- See Also:
- Constant Field Values
STRICT_POST_BINDING
public static final String STRICT_POST_BINDING
- See Also:
- Constant Field Values
SAMLConfigParser
public SAMLConfigParser()
parse
public Object parse(XMLEventReader xmlEventReader)
throws ParsingException
- Description copied from interface:
ParserNamespaceSupport
- Parse the event stream
- Returns:
-
- Throws:
ParsingException
supports
public boolean supports(QName qname)
- Description copied from interface:
ParserNamespaceSupport
- Returns whether the parser supports parsing a particular namespace
- Returns:
parseHandlers
protected Handlers parseHandlers(XMLEventReader xmlEventReader)
throws ParsingException
- Throws:
ParsingException
parseIDPConfiguration
protected IDPType parseIDPConfiguration(XMLEventReader xmlEventReader)
throws ParsingException
- Throws:
ParsingException
parseSPConfiguration
protected ProviderType parseSPConfiguration(XMLEventReader xmlEventReader)
throws ParsingException
- Throws:
ParsingException
parseKeyProvider
protected KeyProviderType parseKeyProvider(XMLEventReader xmlEventReader,
StartElement startElement)
throws ParsingException
- Throws:
ParsingException
parseHandler
protected Handler parseHandler(XMLEventReader xmlEventReader,
StartElement startElement)
throws ParsingException
- Throws:
ParsingException
parseMDProvider
protected MetadataProviderType parseMDProvider(XMLEventReader xmlEventReader,
StartElement startElement)
throws ParsingException
- Throws:
ParsingException
populateKeyValueType
protected void populateKeyValueType(KeyValueType kvt,
StartElement startElement)
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.