Class FiatAuthenticationConverter
java.lang.Object
com.netflix.spinnaker.fiat.shared.FiatAuthenticationConverter
- All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationConverter
public class FiatAuthenticationConverter
extends Object
implements org.springframework.security.web.authentication.AuthenticationConverter
Converts an
X-SPINNAKER-USER HTTP header into an Authentication object containing a list
of roles and other granted authorities in its granted
authorities.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.Authenticationconvert(javax.servlet.http.HttpServletRequest request)
-
Constructor Details
-
FiatAuthenticationConverter
public FiatAuthenticationConverter()
-
-
Method Details
-
convert
public org.springframework.security.core.Authentication convert(javax.servlet.http.HttpServletRequest request) - Specified by:
convertin interfaceorg.springframework.security.web.authentication.AuthenticationConverter
-