| Package | Description |
|---|---|
| com.onelogin.saml2.authn | |
| com.onelogin.saml2.logout | |
| com.onelogin.saml2.settings |
| Modifier and Type | Method and Description |
|---|---|
protected String |
AuthnRequest.postProcessXml(String authnRequestXml,
AuthnRequestParams params,
Saml2Settings settings)
Allows for an extension class to post-process the AuthnRequest XML generated
for this request, in order to customize the result.
|
| Constructor and Description |
|---|
AuthnRequest(Saml2Settings settings)
Constructs the AuthnRequest object.
|
AuthnRequest(Saml2Settings settings,
AuthnRequestParams params)
Constructs the AuthnRequest object.
|
AuthnRequest(Saml2Settings settings,
boolean forceAuthn,
boolean isPassive,
boolean setNameIdPolicy)
|
AuthnRequest(Saml2Settings settings,
boolean forceAuthn,
boolean isPassive,
boolean setNameIdPolicy,
String nameIdValueReq)
|
SamlResponse(Saml2Settings settings,
HttpRequest request)
Constructor to have a Response object fully built and ready to validate the saml response.
|
SamlResponse(Saml2Settings settings,
String currentUrl,
String samlResponse)
Constructor to have a Response object fully built and ready to validate the saml response.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
LogoutRequest.postProcessXml(String logoutRequestXml,
LogoutRequestParams params,
Saml2Settings settings)
Allows for an extension class to post-process the LogoutRequest XML generated
for this request, in order to customize the result.
|
protected String |
LogoutResponse.postProcessXml(String logoutResponseXml,
Saml2Settings settings)
Allows for an extension class to post-process the LogoutResponse XML
generated for this response, in order to customize the result.
|
| Constructor and Description |
|---|
LogoutRequest(Saml2Settings settings)
Constructs a LogoutRequest object when a new request should be generated and
sent.
|
LogoutRequest(Saml2Settings settings,
HttpRequest request)
Constructs the LogoutRequest object when a received request should be
extracted from the HTTP request and parsed.
|
LogoutRequest(Saml2Settings settings,
HttpRequest request,
String nameId,
String sessionIndex)
Deprecated.
use
LogoutRequest.LogoutRequest(Saml2Settings, HttpRequest) to build a
received request from the HTTP request, or
LogoutRequest.LogoutRequest(Saml2Settings, LogoutRequestParams) with
LogoutRequestParams.LogoutRequestParams(String, String)
to build a new request to be sent |
LogoutRequest(Saml2Settings settings,
HttpRequest request,
String nameId,
String sessionIndex,
String nameIdFormat)
Deprecated.
use
LogoutRequest.LogoutRequest(Saml2Settings, HttpRequest) to build a
received request from the HTTP request, or
LogoutRequest.LogoutRequest(Saml2Settings, LogoutRequestParams) with
LogoutRequestParams.LogoutRequestParams(String, String, String)
to build a new request to be sent |
LogoutRequest(Saml2Settings settings,
HttpRequest request,
String nameId,
String sessionIndex,
String nameIdFormat,
String nameIdNameQualifier)
Deprecated.
use
LogoutRequest.LogoutRequest(Saml2Settings, HttpRequest) to build a
received request from the HTTP request, or
LogoutRequest.LogoutRequest(Saml2Settings, LogoutRequestParams) with
LogoutRequestParams.LogoutRequestParams(String, String, String, String)
to build a new request to be sent |
LogoutRequest(Saml2Settings settings,
HttpRequest request,
String nameId,
String sessionIndex,
String nameIdFormat,
String nameIdNameQualifier,
String nameIdSPNameQualifier)
Deprecated.
use
LogoutRequest.LogoutRequest(Saml2Settings, HttpRequest) to build a
received request from the HTTP request, or
LogoutRequest.LogoutRequest(Saml2Settings, LogoutRequestParams) with
LogoutRequestParams.LogoutRequestParams(String, String, String, String, String)
to build a new request to be sent |
LogoutRequest(Saml2Settings settings,
LogoutRequestParams params)
Constructs the LogoutRequest object when a new request should be generated
and sent.
|
LogoutResponse(Saml2Settings settings,
HttpRequest request)
Constructs the LogoutResponse object.
|
| Modifier and Type | Method and Description |
|---|---|
Saml2Settings |
SettingsBuilder.build()
Builds the Saml2Settings object.
|
Saml2Settings |
SettingsBuilder.build(Saml2Settings saml2Setting)
Builds the Saml2Settings object.
|
static Saml2Settings |
IdPMetadataParser.injectIntoSettings(Saml2Settings settings,
Map<String,Object> metadataInfo)
Inject metadata info into Saml2Settings
|
| Modifier and Type | Method and Description |
|---|---|
Saml2Settings |
SettingsBuilder.build(Saml2Settings saml2Setting)
Builds the Saml2Settings object.
|
static Saml2Settings |
IdPMetadataParser.injectIntoSettings(Saml2Settings settings,
Map<String,Object> metadataInfo)
Inject metadata info into Saml2Settings
|
protected String |
Metadata.postProcessXml(String metadataXml,
Saml2Settings settings)
Allows for an extension class to post-process the SAML metadata XML generated
for this metadata instance, in order to customize the result.
|
| Constructor and Description |
|---|
Metadata(Saml2Settings settings)
Constructs the Metadata object.
|
Metadata(Saml2Settings settings,
Calendar validUntilTime,
Integer cacheDuration)
Constructs the Metadata object.
|
Metadata(Saml2Settings settings,
Calendar validUntilTime,
Integer cacheDuration,
AttributeConsumingService attributeConsumingService)
Constructs the Metadata object.
|
Copyright © 2021. All rights reserved.