public class ShibbolethIdPEntityIdAuthenticationServiceSelectionStrategy extends java.lang.Object implements AuthenticationServiceSelectionStrategy
Constructor and Description |
---|
ShibbolethIdPEntityIdAuthenticationServiceSelectionStrategy(ServiceFactory webApplicationServiceFactory,
java.lang.String idpServerPrefix) |
Modifier and Type | Method and Description |
---|---|
protected static java.util.Optional<java.lang.String> |
getEntityIdAsParameter(Service service)
Gets entity id as parameter.
|
int |
getOrder() |
Service |
resolveServiceFrom(Service service)
Resolves the real service from the provided service, if appropriate.
|
boolean |
supports(Service service)
Indicates whether this strategy supports service selection.
|
public ShibbolethIdPEntityIdAuthenticationServiceSelectionStrategy(ServiceFactory webApplicationServiceFactory, java.lang.String idpServerPrefix)
public Service resolveServiceFrom(Service service)
AuthenticationServiceSelectionStrategy
resolveServiceFrom
in interface AuthenticationServiceSelectionStrategy
service
- the provided service by the callerpublic boolean supports(Service service)
AuthenticationServiceSelectionStrategy
supports
in interface AuthenticationServiceSelectionStrategy
service
- the serviceprotected static java.util.Optional<java.lang.String> getEntityIdAsParameter(Service service)
service
- the servicepublic int getOrder()
getOrder
in interface org.springframework.core.Ordered