Class Saml2AssertionAuthentication.Builder<B extends Saml2AssertionAuthentication.Builder<B>>
java.lang.Object
org.springframework.security.saml2.provider.service.authentication.Saml2AssertionAuthentication.Builder<B>
- All Implemented Interfaces:
org.springframework.security.core.Authentication.Builder<B>
- Enclosing class:
- Saml2AssertionAuthentication
public static class Saml2AssertionAuthentication.Builder<B extends Saml2AssertionAuthentication.Builder<B>>
extends Object
A builder of
Saml2AssertionAuthentication instances- Since:
- 7.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()credentials(@Nullable Object credentials) Use these credentials.relyingPartyRegistrationId(String relyingPartyRegistrationId) Use this registration id
-
Constructor Details
-
Builder
-
-
Method Details
-
credentials
Use these credentials. They must be of typeSaml2ResponseAssertionAccessor.- Parameters:
credentials- the credentials to use- Returns:
- the
Saml2AssertionAuthentication.Builderfor further configurations
-
relyingPartyRegistrationId
Use this registration id- Parameters:
relyingPartyRegistrationId- theRelyingPartyRegistration.getRegistrationId()to use- Returns:
- the
Saml2AssertionAuthentication.Builderfor further configurations
-
build
-
principal
-