Class Saml2AuthenticationRequest
java.lang.Object
com.codename1.backend.security.saml2.Saml2AuthenticationRequest
An AuthnRequest on its way to the identity provider: the request itself,
encoded for its binding, and how the browser is sent there.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Saml2AuthenticationRequestcreate(RelyingPartyRegistration registration, String acsLocation, String entityId, String relayState, long now) Makes the AuthnRequest forregistration.getId()The request's ID, which the response must name inInResponseTo.A page that posts the request to the identity provider, for the POST binding.The address to send the browser to, for the redirect binding.TheSAMLRequestparameter: deflated and base64 for the redirect binding, base64 alone for the POST binding.
-
Method Details
-
create
public static Saml2AuthenticationRequest create(RelyingPartyRegistration registration, String acsLocation, String entityId, String relayState, long now) throws IOException Makes the AuthnRequest forregistration.- Parameters:
acsLocation- this server's ACS address, resolvedentityId- this server's entity ID, resolvedrelayState- what the identity provider hands back unchangednow- the issue instant, in milliseconds- Throws:
IOException
-
getId
The request's ID, which the response must name inInResponseTo. -
getBinding
-
getLocation
-
getSamlRequest
TheSAMLRequestparameter: deflated and base64 for the redirect binding, base64 alone for the POST binding. -
getRelayState
-
getRedirectUrl
The address to send the browser to, for the redirect binding. -
getPostPage
A page that posts the request to the identity provider, for the POST binding.
-