Examples of AuthnQuery


Examples of org.opensaml.saml2.core.AuthnQuery

*/
public class AuthnQueryMarshaller extends SubjectQueryMarshaller {

    /** {@inheritDoc} */
    protected void marshallAttributes(XMLObject samlObject, Element domElement) throws MarshallingException {
        AuthnQuery query = (AuthnQuery) samlObject;

        if (query.getSessionIndex() != null) {
            domElement.setAttributeNS(null, AuthnQuery.SESSION_INDEX_ATTRIB_NAME, query.getSessionIndex());
        }

        super.marshallAttributes(samlObject, domElement);
    }
View Full Code Here

Examples of org.opensaml.saml2.core.AuthnQuery

*/
public class AuthnQueryUnmarshaller extends SubjectQueryUnmarshaller {

    /** {@inheritDoc} */
    protected void processAttribute(XMLObject samlObject, Attr attribute) throws UnmarshallingException {
        AuthnQuery query = (AuthnQuery) samlObject;

        if (attribute.getLocalName().equals(AuthnQuery.SESSION_INDEX_ATTRIB_NAME)) {
            query.setSessionIndex(attribute.getValue());
        } else {
            super.processAttribute(samlObject, attribute);
        }
    }
View Full Code Here

Examples of org.opensaml.saml2.core.AuthnQuery

    }

    /** {@inheritDoc} */
    protected void processChildElement(XMLObject parentSAMLObject, XMLObject childSAMLObject)
            throws UnmarshallingException {
        AuthnQuery query = (AuthnQuery) parentSAMLObject;

        if (childSAMLObject instanceof RequestedAuthnContext) {
            query.setRequestedAuthnContext((RequestedAuthnContext) childSAMLObject);
        } else {
            super.processChildElement(parentSAMLObject, childSAMLObject);
        }
    }
View Full Code Here

Examples of org.opensaml.saml2.core.AuthnQuery

        super(namespaceURI, elementLocalName);
    }

    /** {@inheritDoc} */
    protected void marshallAttributes(XMLObject samlObject, Element domElement) throws MarshallingException {
        AuthnQuery query = (AuthnQuery) samlObject;

        if (query.getSessionIndex() != null)
            domElement.setAttributeNS(null, AuthnQuery.SESSION_INDEX_ATTRIB_NAME, query.getSessionIndex());

        super.marshallAttributes(samlObject, domElement);
    }
View Full Code Here

Examples of org.opensaml.saml2.core.AuthnQuery

        super(namespaceURI, elementLocalName);
    }

    /** {@inheritDoc} */
    protected void processAttribute(XMLObject samlObject, Attr attribute) throws UnmarshallingException {
        AuthnQuery query = (AuthnQuery) samlObject;

        if (attribute.getLocalName().equals(AuthnQuery.SESSION_INDEX_ATTRIB_NAME))
            query.setSessionIndex(attribute.getValue());
        else
            super.processAttribute(samlObject, attribute);
    }
View Full Code Here

Examples of org.opensaml.saml2.core.AuthnQuery

    }

    /** {@inheritDoc} */
    protected void processChildElement(XMLObject parentSAMLObject, XMLObject childSAMLObject)
            throws UnmarshallingException {
        AuthnQuery query = (AuthnQuery) parentSAMLObject;

        if (childSAMLObject instanceof RequestedAuthnContext)
            query.setRequestedAuthnContext((RequestedAuthnContext) childSAMLObject);
        else
            super.processChildElement(parentSAMLObject, childSAMLObject);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.