@ConditionalOnProperty(value="genie.security.saml.enabled",
havingValue="true")
@Component
public class SAMLUserDetailsServiceImpl
extends java.lang.Object
implements org.springframework.security.saml.userdetails.SAMLUserDetailsService
Constructor and Description |
---|
SAMLUserDetailsServiceImpl(@NotNull SAMLProperties samlProperties,
@NotNull io.micrometer.core.instrument.MeterRegistry registry)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
loadUserBySAML(org.springframework.security.saml.SAMLCredential credential) |
@Autowired public SAMLUserDetailsServiceImpl(@NotNull @NotNull SAMLProperties samlProperties, @NotNull @NotNull io.micrometer.core.instrument.MeterRegistry registry)
samlProperties
- The SAML properties to useregistry
- The metrics registry to usepublic java.lang.Object loadUserBySAML(org.springframework.security.saml.SAMLCredential credential) throws org.springframework.security.core.userdetails.UsernameNotFoundException
loadUserBySAML
in interface org.springframework.security.saml.userdetails.SAMLUserDetailsService
org.springframework.security.core.userdetails.UsernameNotFoundException