private void setWstFault(IConstants constants, ISTSResponse response, String reason, String detail) { final Fault fault = new Fault( constants.getWSTrustNamespace(), "wst", constants.getRequestFailedFaultCode(), reason, detail); response.setFault(fault); }
final java.util.List listRST = request.getRequestSecurityTokenCollection(); final IRequestSecurityToken RST = (IRequestSecurityToken) listRST.get(0); final org.eclipse.higgins.sts.api.ILifetime ltLifetime = RST.getLifetime(); final java.net.URI uriTokenType = RST.getTokenType(); if (uriTokenType == null || (!OpenIDTokenType.OPENID20_TOKEN.toString().equals(uriTokenType.toString()) && final org.eclipse.higgins.sts.api.IAppliesTo appliesToRequest = RST.getAppliesTo(); java.net.URI uriAppliesTo = null; this.log.trace("Checking for AppliesTo"); this.log.trace("Found AppliesTo"); final org.eclipse.higgins.sts.api.IEndpointReference eprAppliesTo = appliesToRequest.getEndpointReference(); uriAppliesTo = eprAppliesTo.getAddress(); RST.getDigitalIdentity(); if (null == digitalIdentity) { setWstFault(constants, response, "The specified request failed", constants.getIdentityNamespace().toString(), "ic"); constants.getWSTrustNamespace().toString(), "wst"); omFactory.createOMNamespace(constants.getWSSecurityNamespace().toString(), "wsse"); final org.apache.axiom.om.OMElement omSecurityTokenReference1 = omFactory.createOMElement("SecurityTokenReference",
final java.util.List listRST = request.getRequestSecurityTokenCollection(); final IRequestSecurityToken RST = (IRequestSecurityToken)listRST.get(0); final org.eclipse.higgins.sts.api.ILifetime ltLifetime = RST.getLifetime(); final java.net.URI uriTokenType = RST.getTokenType(); if (uriTokenType == null || (! OpenIDTokenType.OPENID20_TOKEN.toString().equals(uriTokenType.toString()) && final org.eclipse.higgins.sts.api.IAppliesTo appliesToRequest = RST.getAppliesTo(); java.net.URI uriAppliesTo = null; this.log.trace("Checking for AppliesTo"); appliesToRequest.getEndpointReference(); uriAppliesTo = eprAppliesTo.getAddress(); RST.getDigitalIdentity(); if (null == digitalIdentity) constants.getIdentityNamespace().toString(),"ic"); constants.getWSTrustNamespace().toString(),"wst"); omFactory.createOMNamespace(constants.getWSSecurityNamespace().toString(), "wsse"); final org.apache.axiom.om.OMElement omSecurityTokenReference1 = omFactory.createOMElement("SecurityTokenReference", final java.util.List listClaims = digitalIdentity.getClaims(); final java.util.Map mapAttributeClaim =
private void setWstFault(IConstants constants, ISTSResponse response, String reason, String detail) { final Fault fault = new Fault( constants.getWSTrustNamespace(), "wst", constants.getRequestFailedFaultCode(), reason, detail); response.setFault(fault); }