Package org.opensaml.ws.wsfed

Examples of org.opensaml.ws.wsfed.RequestSecurityTokenResponse


/** A thread-safe unmarshaller for {@link RequestSecurityTokenResponse} objects. */
public class RequestSecurityTokenResponseUnmarshaller extends AbstractXMLObjectUnmarshaller {

    /** {@inheritDoc} */
    protected void processChildElement(XMLObject parentSAMLObject, XMLObject childSAMLObject) {
        RequestSecurityTokenResponse response = (RequestSecurityTokenResponse) parentSAMLObject;

        if (childSAMLObject instanceof RequestedSecurityToken) {
            response.getRequestedSecurityToken().add((RequestedSecurityToken) childSAMLObject);
        } else if (childSAMLObject instanceof AppliesTo) {
            response.setAppliesTo((AppliesTo) childSAMLObject);
        }
    }
View Full Code Here


/** A thread-safe unmarshaller for {@link RequestSecurityTokenResponse} objects. */
public class RequestSecurityTokenResponseUnmarshaller extends AbstractXMLObjectUnmarshaller {

    /** {@inheritDoc} */
    protected void processChildElement(XMLObject parentSAMLObject, XMLObject childSAMLObject) {
        RequestSecurityTokenResponse response = (RequestSecurityTokenResponse) parentSAMLObject;

        if (childSAMLObject instanceof RequestedSecurityToken) {
            response.getRequestedSecurityToken().add((RequestedSecurityToken) childSAMLObject);
        } else if (childSAMLObject instanceof AppliesTo) {
            response.setAppliesTo((AppliesTo) childSAMLObject);
        }
    }
View Full Code Here

TOP

Related Classes of org.opensaml.ws.wsfed.RequestSecurityTokenResponse

Copyright © 2018 www.massapicom. 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.