Class SpInformationFactory
java.lang.Object
se.swedenconnect.bankid.idp.authn.api.SpInformationFactory
Bean for delivering SP information.
- Author:
- Martin Lindström, Felix Hellman
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetSpInformation
(Saml2ServiceProviderUiInfo uiInfo, RelyingPartyData relyingParty) Obtains the information for the current SP information.
-
Constructor Details
-
SpInformationFactory
public SpInformationFactory(boolean showSpMessage) Constructor.- Parameters:
showSpMessage
- whether SP info should be displayed in UI
-
-
Method Details
-
getSpInformation
public SpInformation getSpInformation(Saml2ServiceProviderUiInfo uiInfo, RelyingPartyData relyingParty) Obtains the information for the current SP information.- Parameters:
uiInfo
- the SP UI inforelyingParty
- the RP data- Returns:
- a
SpInformation
-