Examples of ClaimsType


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

                renewTarget = new ReceivedToken(target);
            }         
            tokenRequirements.setRenewTarget(renewTarget);
            LOG.fine("Found CancelTarget token");
        } else if (QNameConstants.CLAIMS.equals(jaxbElement.getName())) {
            ClaimsType claimsType = (ClaimsType)jaxbElement.getValue();
            RequestClaimCollection requestedClaims = parseClaims(claimsType, claimsParsers);
            tokenRequirements.setClaims(requestedClaims);
            LOG.fine("Found Claims token");
        } else if (QNameConstants.RENEWING.equals(jaxbElement.getName())) {
            RenewingType renewingType = (RenewingType)jaxbElement.getValue();
View Full Code Here

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

                renewTarget = new ReceivedToken(target);
            }         
            tokenRequirements.setRenewTarget(renewTarget);
            LOG.fine("Found CancelTarget token");
        } else if (QNameConstants.CLAIMS.equals(jaxbElement.getName())) {
            ClaimsType claimsType = (ClaimsType)jaxbElement.getValue();
            RequestClaimCollection requestedClaims = parseClaims(claimsType, claimsParsers);
            tokenRequirements.setClaims(requestedClaims);
            LOG.fine("Found Claims token");
        } else if (QNameConstants.RENEWING.equals(jaxbElement.getName())) {
            RenewingType renewingType = (RenewingType)jaxbElement.getValue();
View Full Code Here

Examples of org.picketlink.identity.federation.ws.trust.ClaimsType

        }
        requestContext.setServiceProviderPublicKey(providerPublicKey);

        // process the claims if needed.
        if (request.getClaims() != null) {
            ClaimsType claims = request.getClaims();
            ClaimsProcessor processor = this.configuration.getClaimsProcessor(claims.getDialect());
            // if there is a processor, process the claims and set the resulting attributes in the context.
            if (processor != null)
                requestContext.setClaimedAttributes(processor.processClaims(claims, callerPrincipal));
            else if (logger.isDebugEnabled())
                logger.debug("Claims have been specified in the request but no processor was found for dialect " + claims.getDialect());
        }

        // get the OnBehalfOf principal, if one has been specified.
        if (request.getOnBehalfOf() != null) {
            Principal onBehalfOfPrincipal = WSTrustUtil.getOnBehalfOfPrincipal(request.getOnBehalfOf());
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.