authnRequest.setDestination(idp.ssoEndpoint().toUriString()); authnRequest.setID(requestIdManager.newId());
authnRequest.setDestination(trustedIdp.getUrl());
); if (isSignRequest()) { authnRequest.setDestination(getIdpServiceAddress()); signAuthnRequest(authnRequest);
authnRequest.setNameIDPolicy(nameIDPolicy); authnRequest.setRequestedAuthnContext(requestedAuthnContextProvider.provide()); authnRequest.setDestination(idp.getSSOLocation(idp.getBindingType()).getLocation());
authnRequest.setNameIDPolicy(nameIdPolicy); authnRequest.setRequestedAuthnContext(requestedAuthnContext); authnRequest.setDestination(serverConfiguration.getIdpURL());
authnRequest.setDestination(idp.ssoEndpoint().toUriString()); authnRequest.setID(requestIdManager.newId());
request.setDestination(ssoService.getLocation()); if (assertionConsumerServiceIndex >= 0) { request.setAssertionConsumerServiceIndex(assertionConsumerServiceIndex);
protected AuthnRequest internalToXml(AuthenticationRequest request) { AuthnRequest auth = buildSAMLObject(AuthnRequest.class); auth.setID(request.getId()); auth.setVersion(SAMLVersion.VERSION_20); auth.setIssueInstant(request.getIssueInstant()); auth.setForceAuthn(request.isForceAuth()); auth.setIsPassive(request.isPassive()); auth.setProtocolBinding(request.getBinding().toString()); // Azure AD as IdP will not accept index if protocol binding or AssertationCustomerServiceURL is set. // auth.setAssertionConsumerServiceIndex(request.getAssertionConsumerService().getIndex()); auth.setAssertionConsumerServiceURL(request.getAssertionConsumerService().getLocation()); auth.setDestination(request.getDestination().getLocation()); auth.setNameIDPolicy(getNameIDPolicy(request.getNameIdPolicy())); auth.setRequestedAuthnContext(getRequestedAuthenticationContext(request)); auth.setIssuer(toIssuer(request.getIssuer())); if (request.getSigningKey() != null) { this.signObject(auth, request.getSigningKey(), request.getAlgorithm(), request.getDigest()); } return auth; }