Examples of RenewTargetType


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

                    setUseKey(new UseKeyImpl(ukType));
                } else if (local.equalsIgnoreCase("DelegateTo")){
                    final DelegateToType dtType  = (DelegateToType)obj.getValue();
                    setDelegateTo(new DelegateToImpl(dtType));
                } else if (local.equalsIgnoreCase("RenewTarget")){
                    final RenewTargetType rtType = (RenewTargetType)obj.getValue();
                    setRenewTarget(new RenewTargetImpl(rtType));
                } else if (local.equalsIgnoreCase("CancelTarget")){
                    final CancelTargetType ctType = (CancelTargetType)obj.getValue();
                    setCancelTarget(new CancelTargetImpl(ctType));
                } else if (local.equalsIgnoreCase("AppliesTo")) {
View Full Code Here

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

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

Examples of com.sun.xml.ws.security.trust.impl.wssx.bindings.RenewTargetType

                    setUseKey(new UseKeyImpl(ukType));
                } else if (local.equalsIgnoreCase("DelegateTo")){
                    DelegateToType dtType  = (DelegateToType)obj.getValue();
                    setDelegateTo(new DelegateToImpl(dtType));
                } else if (local.equalsIgnoreCase("RenewTarget")){
                    RenewTargetType rtType = (RenewTargetType)obj.getValue();
                    setRenewTarget(new RenewTargetImpl(rtType));
                } else if (local.equalsIgnoreCase("CancelTarget")){
                    CancelTargetType ctType = (CancelTargetType)obj.getValue();
                    setCancelTarget(new CancelTargetImpl(ctType));
                } else if (local.equalsIgnoreCase("ValidateTarget")){
View Full Code Here

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

                cancelTarget = new ReceivedToken(target);
            }         
            tokenRequirements.setCancelTarget(cancelTarget);
            LOG.fine("Found CancelTarget token");
        } else if (QNameConstants.RENEW_TARGET.equals(jaxbElement.getName())) {
            RenewTargetType renewTargetType = (RenewTargetType)jaxbElement.getValue();
            ReceivedToken renewTarget = new ReceivedToken(renewTargetType.getAny());
            if (isTokenReferenced(renewTarget.getToken())) {
                Element target = fetchTokenElementFromReference(renewTarget.getToken(), wsContext);
                renewTarget = new ReceivedToken(target);
            }         
            tokenRequirements.setRenewTarget(renewTarget);
View Full Code Here

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

                cancelTarget = new ReceivedToken(target);
            }         
            tokenRequirements.setCancelTarget(cancelTarget);
            LOG.fine("Found CancelTarget token");
        } else if (QNameConstants.RENEW_TARGET.equals(jaxbElement.getName())) {
            RenewTargetType renewTargetType = (RenewTargetType)jaxbElement.getValue();
            ReceivedToken renewTarget = new ReceivedToken(renewTargetType.getAny());
            if (isTokenReferenced(renewTarget.getToken())) {
                Element target = fetchTokenElementFromReference(renewTarget.getToken(), wsContext);
                renewTarget = new ReceivedToken(target);
            }         
            tokenRequirements.setRenewTarget(renewTarget);
View Full Code Here

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

                cancelTarget = new ReceivedToken(target);
            }         
            tokenRequirements.setCancelTarget(cancelTarget);
            LOG.fine("Found CancelTarget token");
        } else if (QNameConstants.RENEW_TARGET.equals(jaxbElement.getName())) {
            RenewTargetType renewTargetType = (RenewTargetType)jaxbElement.getValue();
            ReceivedToken renewTarget = new ReceivedToken(renewTargetType.getAny());
            if (isTokenReferenced(renewTarget.getToken())) {
                Element target = fetchTokenElementFromReference(renewTarget.getToken(), wsContext);
                renewTarget = new ReceivedToken(target);
            }         
            tokenRequirements.setRenewTarget(renewTarget);
View Full Code Here

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

                cancelTarget = new ReceivedToken(target);
            }         
            tokenRequirements.setCancelTarget(cancelTarget);
            LOG.fine("Found CancelTarget token");
        } else if (QNameConstants.RENEW_TARGET.equals(jaxbElement.getName())) {
            RenewTargetType renewTargetType = (RenewTargetType)jaxbElement.getValue();
            ReceivedToken renewTarget = new ReceivedToken(renewTargetType.getAny());
            if (isTokenReferenced(renewTarget.getToken())) {
                Element target = fetchTokenElementFromReference(renewTarget.getToken(), wsContext);
                renewTarget = new ReceivedToken(target);
            }         
            tokenRequirements.setRenewTarget(renewTarget);
View Full Code Here

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

                cancelTarget = new ReceivedToken(target);
            }         
            tokenRequirements.setCancelTarget(cancelTarget);
            LOG.fine("Found CancelTarget token");
        } else if (QNameConstants.RENEW_TARGET.equals(jaxbElement.getName())) {
            RenewTargetType renewTargetType = (RenewTargetType)jaxbElement.getValue();
            ReceivedToken renewTarget = new ReceivedToken(renewTargetType.getAny());
            if (isTokenReferenced(renewTarget.getToken())) {
                Element target = fetchTokenElementFromReference(renewTarget.getToken(), wsContext);
                renewTarget = new ReceivedToken(target);
            }         
            tokenRequirements.setRenewTarget(renewTarget);
View Full Code Here

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

                WSConstants.WSS_SAML_TOKEN_TYPE, crypto, "mystskey", callbackHandler, 50000, true, false
            );
       
        Document doc = samlToken.getOwnerDocument();
        samlToken = (Element)doc.appendChild(samlToken);
        RenewTargetType renewTarget = new RenewTargetType();
        renewTarget.setAny(samlToken);
       
        JAXBElement<RenewTargetType> renewTargetType =
            new JAXBElement<RenewTargetType>(
                QNameConstants.RENEW_TARGET, RenewTargetType.class, renewTarget
            );
View Full Code Here

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

        // Sleep to expire the token
        Thread.sleep(100);
       
        Document doc = samlToken.getOwnerDocument();
        samlToken = (Element)doc.appendChild(samlToken);
        RenewTargetType renewTarget = new RenewTargetType();
        renewTarget.setAny(samlToken);
       
        JAXBElement<RenewTargetType> renewTargetType =
            new JAXBElement<RenewTargetType>(
                QNameConstants.RENEW_TARGET, RenewTargetType.class, renewTarget
            );
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.