hello,
i want to use replace a currently saml implematation OIOSAML (
https://svn.softwareborsen.dk/oiosaml.java/sp/trunk/webapp/ with pac4j for sso ), the saml request needs to include the username to authenticate, i dont find a place in the samle2client where i can put it
with OIOSAML it would look like this:
dk.itst.oiosaml.sp.service.RequestContext context;
OIOAuthnRequest authnRequest = OIOAuthnRequest.buildAuthnRequest(uname,signonLocation.getLocation(), context.getSpMetadata().getEntityID(),
context.getSpMetadata().getAssertionConsumerServiceLocationBinding(0), context.getSessionHandler(), relayState, context.getSpMetadata().getAssertionConsumerServiceLocation(0));
authnRequest.setNameIDPolicy(conf.getString(Constants.PROP_NAMEID_POLICY, null), conf.getBoolean(Constants.PROP_NAMEID_POLICY_ALLOW_CREATE, false));
authnRequest.setForceAuthn(isForceAuthnEnabled(request, conf));
....
one more point which is not clear for me is that what is the callbackUrl for Saml2Client ? is it the redirect url for remote Samle-service (which from my understanding (or my usecase) is extracted from service-provider-metatdata.AssertionConsumerService.Location) or the url for the webapp to redirect internally ?
thanx