Class SpringStatusMessageLookupFunction
java.lang.Object
net.shibboleth.idp.profile.context.navigate.SpringStatusMessageLookupFunction
- All Implemented Interfaces:
Function<ProfileRequestContext,
,String> Aware
,MessageSourceAware
public class SpringStatusMessageLookupFunction
extends Object
implements Function<ProfileRequestContext,String>, MessageSourceAware
A function that returns a status message to include, if any, in a SAML response based on the current
profile request context state, using Spring's
MessageSource
functionality.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate MessageSource
MessageSource injected by Spring, typically the parent ApplicationContext itself. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply
(ProfileRequestContext input) void
setMessageSource
(MessageSource source)
-
Field Details
-
messageSource
MessageSource injected by Spring, typically the parent ApplicationContext itself.
-
-
Constructor Details
-
SpringStatusMessageLookupFunction
public SpringStatusMessageLookupFunction()
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceFunction<ProfileRequestContext,
String>
-
setMessageSource
- Specified by:
setMessageSource
in interfaceMessageSourceAware
-