if (req.getAttributeConsumingServiceIndex() != null) { domElement.setAttributeNS(null, AuthnRequest.ATTRIBUTE_CONSUMING_SERVICE_INDEX_ATTRIB_NAME, req .getAttributeConsumingServiceIndex().toString());
final SAMLObject inbound = filterContext.getAttributeRequestContext().getInboundSAMLMessage(); if (inbound != null && inbound instanceof AuthnRequest) { final Integer i = ((AuthnRequest) inbound).getAttributeConsumingServiceIndex(); if (i != null) { final List<AttributeConsumingService> services =
final SAMLObject inbound = filterContext.getAttributeRequestContext().getInboundSAMLMessage(); if (inbound != null && inbound instanceof AuthnRequest) { final Integer i = ((AuthnRequest) inbound).getAttributeConsumingServiceIndex(); if (i != null) { final List<AttributeConsumingService> services =
messageContext.addParameter(InboundConstants.ForceAuth, authnReq.isForceAuthn()); messageContext.addParameter(InboundConstants.PassiveAuth, authnReq.isPassive()); Integer index = authnReq.getAttributeConsumingServiceIndex();
validationResponse.setPassive(authnReq.isPassive()); validationResponse.setForceAuthn(authnReq.isForceAuthn()); Integer index = authnReq.getAttributeConsumingServiceIndex(); if (index !=null && !(index < 1)){ //according the spec, should be an unsigned short validationResponse.setAttributeConsumingServiceIndex(index);