Examples of ParticipantType


Examples of com.sun.xml.ws.security.trust.impl.bindings.ParticipantType

    /**
     * Create an instance of {@link ParticipantType }
     *
     */
    public ParticipantType createParticipantType() {
        return new ParticipantType();
    }
View Full Code Here

Examples of de.danet.an.workflow.api.Participant.ParticipantType

        if (participant == null) {
            return new ArrayList ();
        }

        Object resSel = null;
        ParticipantType type = participant.getParticipantType();
        Collection assigned = new ArrayList ();
        if (type.isResourceSet()) {
            resSel = "G:" + participant.getName();
        } else if (type.isRole()) {
            resSel = "R:" + participant.getName();
        } else if (type.isHuman()) {
            String crit = (String)participant.getResourceSelection();
            if (crit != null && crit.startsWith ("!:currentUser")
                && principal != null) {
                try {
                    WfResource res = asResource (principal);
View Full Code Here

Examples of org.apache.cxf.ws.security.sts.provider.model.ParticipantType

       
        // Add participants
        String primaryParticipant = "http://primary.participant/";
        String secondaryParticipant = "http://secondary.participant/";
       
        ParticipantType primary = new ParticipantType();
        Document doc = DOMUtils.newDocument();
        primary.setAny(createEndpointReference(doc, primaryParticipant));
       
        ParticipantType secondary = new ParticipantType();
        secondary.setAny(createEndpointReference(doc, secondaryParticipant));
       
        ParticipantsType participants = new ParticipantsType();
        participants.setPrimary(primary);
        participants.getParticipant().add(secondary);
       
View Full Code Here

Examples of org.apache.cxf.ws.security.sts.provider.model.ParticipantType

       
        // Add participants
        String primaryParticipant = "http://primary.participant/";
        String secondaryParticipant = "http://secondary.participant/";
       
        ParticipantType primary = new ParticipantType();
        Document doc = DOMUtils.newDocument();
        primary.setAny(createEndpointReference(doc, primaryParticipant));
       
        ParticipantType secondary = new ParticipantType();
        secondary.setAny(createEndpointReference(doc, secondaryParticipant));
       
        ParticipantsType participants = new ParticipantsType();
        participants.setPrimary(primary);
        participants.getParticipant().add(secondary);
       
View Full Code Here

Examples of org.apache.cxf.ws.security.sts.provider.model.ParticipantType

       
        // Add participants
        String primaryParticipant = "http://primary.participant/";
        String secondaryParticipant = "http://secondary.participant/";
       
        ParticipantType primary = new ParticipantType();
        Document doc = DOMUtils.newDocument();
        primary.setAny(createEndpointReference(doc, primaryParticipant));
       
        ParticipantType secondary = new ParticipantType();
        secondary.setAny(createEndpointReference(doc, secondaryParticipant));
       
        ParticipantsType participants = new ParticipantsType();
        participants.setPrimary(primary);
        participants.getParticipant().add(secondary);
       
View Full Code Here

Examples of org.apache.cxf.ws.security.sts.provider.model.ParticipantType

       
        // Add participants
        String primaryParticipant = "http://primary.participant/";
        String secondaryParticipant = "http://secondary.participant/";
       
        ParticipantType primary = new ParticipantType();
        Document doc = DOMUtils.newDocument();
        primary.setAny(createEndpointReference(doc, primaryParticipant));
       
        ParticipantType secondary = new ParticipantType();
        secondary.setAny(createEndpointReference(doc, secondaryParticipant));
       
        ParticipantsType participants = new ParticipantsType();
        participants.setPrimary(primary);
        participants.getParticipant().add(secondary);
       
View Full Code Here

Examples of org.opensaml.ws.wstrust.ParticipantType

public class ParticipantTypeUnmarshaller extends AbstractWSTrustObjectUnmarshaller {

    /** {@inheritDoc} */
    protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject)
            throws UnmarshallingException {
        ParticipantType pt = (ParticipantType) parentXMLObject;
        pt.setUnknownXMLObject(childXMLObject);
    }
View Full Code Here

Examples of org.opensaml.ws.wstrust.ParticipantType

public class ParticipantTypeUnmarshaller extends AbstractWSTrustObjectUnmarshaller {

    /** {@inheritDoc} */
    protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject)
            throws UnmarshallingException {
        ParticipantType pt = (ParticipantType) parentXMLObject;
        pt.setUnknownXMLObject(childXMLObject);
    }
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.