Examples of SessionIndex


Examples of org.opensaml.saml2.core.SessionIndex

        NameID nameId = new NameIDBuilder().buildObject();
        nameId.setFormat(SAMLSSOConstants.NAME_ID_POLICY_ENTITY);
        nameId.setValue(subject);
        logoutReq.setNameID(nameId);

        SessionIndex sessionIndex = new SessionIndexBuilder().buildObject();
        sessionIndex.setSessionIndex(sessionId);
        logoutReq.getSessionIndexes().add(sessionIndex);

        logoutReq.setReason(reason);

        return logoutReq;
View Full Code Here

Examples of org.opensaml.saml2.core.SessionIndex

        NameID nameId = new NameIDBuilder().buildObject();
        nameId.setFormat(SAML2SSOAuthenticatorConstants.SAML2_NAME_ID_POLICY_TRANSIENT);
        nameId.setValue(subject);
        logoutReq.setNameID(nameId);

        SessionIndex sessionIndex = new SessionIndexBuilder().buildObject();
        // TODO : fix this to use the proper Session ID
        sessionIndex.setSessionIndex(UUIDGenerator.getUUID());
        logoutReq.getSessionIndexes().add(sessionIndex);

        logoutReq.setReason(reason);

        return logoutReq;
View Full Code Here

Examples of org.opensaml.saml2.core.SessionIndex

*/
public class SessionIndexUnmarshaller extends AbstractSAMLObjectUnmarshaller {

    /** {@inheritDoc} */
    protected void processElementContent(XMLObject samlObject, String elementContent) {
        SessionIndex si = (SessionIndex) samlObject;

        si.setSessionIndex(elementContent);
    }
View Full Code Here

Examples of org.opensaml.saml2.core.SessionIndex

*/
public class SessionIndexMarshaller extends AbstractSAMLObjectMarshaller {

    /** {@inheritDoc} */
    protected void marshallElementContent(XMLObject samlObject, Element domElement) throws MarshallingException {
        SessionIndex si = (SessionIndex) samlObject;

        if (si.getSessionIndex() != null) {
            XMLHelper.appendTextContent(domElement, si.getSessionIndex());
        }
    }
View Full Code Here

Examples of org.opensaml.saml2.core.SessionIndex

        super(namespaceURI, elementLocalName);
    }

    /** {@inheritDoc} */
    protected void processElementContent(XMLObject samlObject, String elementContent) {
        SessionIndex si = (SessionIndex) samlObject;

        si.setSessionIndex(elementContent);
    }
View Full Code Here

Examples of org.opensaml.saml2.core.SessionIndex

        super(namespaceURI, elementLocalName);
    }

    /** {@inheritDoc} */
    protected void marshallElementContent(XMLObject samlObject, Element domElement) throws MarshallingException {
        SessionIndex si = (SessionIndex) samlObject;

        if (si.getSessionIndex() != null)
            XMLHelper.appendTextContent(domElement, si.getSessionIndex());
    }
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.