Class RequestHeaderIdentityProvider
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.RequestHeaderIdentityProvider
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<RequestHeaderIdentityProviderBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class RequestHeaderIdentityProvider extends Object implements io.fabric8.kubernetes.api.builder.Editable<RequestHeaderIdentityProviderBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
RequestHeaderIdentityProvider provides identities for users authenticating using request header credentials- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RequestHeaderIdentityProvider()No args constructor for use in serializationRequestHeaderIdentityProvider(ConfigMapNameReference ca, String challengeURL, List<String> clientCommonNames, List<String> emailHeaders, List<String> headers, String loginURL, List<String> nameHeaders, List<String> preferredUsernameHeaders)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RequestHeaderIdentityProviderBuilderedit()Map<String,Object>getAdditionalProperties()ConfigMapNameReferencegetCa()RequestHeaderIdentityProvider provides identities for users authenticating using request header credentialsStringgetChallengeURL()challengeURL is a URL to redirect unauthenticated /authorize requests to Unauthenticated requests from OAuth clients which expect WWW-Authenticate challenges will be redirected here.List<String>getClientCommonNames()clientCommonNames is an optional list of common names to require a match from.List<String>getEmailHeaders()emailHeaders is the set of headers to check for the email addressList<String>getHeaders()headers is the set of headers to check for identity informationStringgetLoginURL()loginURL is a URL to redirect unauthenticated /authorize requests to Unauthenticated requests from OAuth clients which expect interactive logins will be redirected here ${url} is replaced with the current URL, escaped to be safe in a query parameterList<String>getNameHeaders()nameHeaders is the set of headers to check for the display nameList<String>getPreferredUsernameHeaders()preferredUsernameHeaders is the set of headers to check for the preferred usernamevoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetCa(ConfigMapNameReference ca)RequestHeaderIdentityProvider provides identities for users authenticating using request header credentialsvoidsetChallengeURL(String challengeURL)challengeURL is a URL to redirect unauthenticated /authorize requests to Unauthenticated requests from OAuth clients which expect WWW-Authenticate challenges will be redirected here.voidsetClientCommonNames(List<String> clientCommonNames)clientCommonNames is an optional list of common names to require a match from.voidsetEmailHeaders(List<String> emailHeaders)emailHeaders is the set of headers to check for the email addressvoidsetHeaders(List<String> headers)headers is the set of headers to check for identity informationvoidsetLoginURL(String loginURL)loginURL is a URL to redirect unauthenticated /authorize requests to Unauthenticated requests from OAuth clients which expect interactive logins will be redirected here ${url} is replaced with the current URL, escaped to be safe in a query parametervoidsetNameHeaders(List<String> nameHeaders)nameHeaders is the set of headers to check for the display namevoidsetPreferredUsernameHeaders(List<String> preferredUsernameHeaders)preferredUsernameHeaders is the set of headers to check for the preferred usernameRequestHeaderIdentityProviderBuildertoBuilder()
-
-
-
Method Detail
-
getCa
public ConfigMapNameReference getCa()
RequestHeaderIdentityProvider provides identities for users authenticating using request header credentials
-
setCa
public void setCa(ConfigMapNameReference ca)
RequestHeaderIdentityProvider provides identities for users authenticating using request header credentials
-
getChallengeURL
public String getChallengeURL()
challengeURL is a URL to redirect unauthenticated /authorize requests to Unauthenticated requests from OAuth clients which expect WWW-Authenticate challenges will be redirected here. ${url} is replaced with the current URL, escaped to be safe in a query parameterhttps://www.example.com/sso-login?then=${url}
${query} is replaced with the current query string
https://www.example.com/auth-proxy/oauth/authorize?${query}
Required when challenge is set to true.
-
setChallengeURL
public void setChallengeURL(String challengeURL)
challengeURL is a URL to redirect unauthenticated /authorize requests to Unauthenticated requests from OAuth clients which expect WWW-Authenticate challenges will be redirected here. ${url} is replaced with the current URL, escaped to be safe in a query parameterhttps://www.example.com/sso-login?then=${url}
${query} is replaced with the current query string
https://www.example.com/auth-proxy/oauth/authorize?${query}
Required when challenge is set to true.
-
getClientCommonNames
public List<String> getClientCommonNames()
clientCommonNames is an optional list of common names to require a match from. If empty, any client certificate validated against the clientCA bundle is considered authoritative.
-
setClientCommonNames
public void setClientCommonNames(List<String> clientCommonNames)
clientCommonNames is an optional list of common names to require a match from. If empty, any client certificate validated against the clientCA bundle is considered authoritative.
-
getEmailHeaders
public List<String> getEmailHeaders()
emailHeaders is the set of headers to check for the email address
-
setEmailHeaders
public void setEmailHeaders(List<String> emailHeaders)
emailHeaders is the set of headers to check for the email address
-
getHeaders
public List<String> getHeaders()
headers is the set of headers to check for identity information
-
setHeaders
public void setHeaders(List<String> headers)
headers is the set of headers to check for identity information
-
getLoginURL
public String getLoginURL()
loginURL is a URL to redirect unauthenticated /authorize requests to Unauthenticated requests from OAuth clients which expect interactive logins will be redirected here ${url} is replaced with the current URL, escaped to be safe in a query parameterhttps://www.example.com/sso-login?then=${url}
${query} is replaced with the current query string
https://www.example.com/auth-proxy/oauth/authorize?${query}
Required when login is set to true.
-
setLoginURL
public void setLoginURL(String loginURL)
loginURL is a URL to redirect unauthenticated /authorize requests to Unauthenticated requests from OAuth clients which expect interactive logins will be redirected here ${url} is replaced with the current URL, escaped to be safe in a query parameterhttps://www.example.com/sso-login?then=${url}
${query} is replaced with the current query string
https://www.example.com/auth-proxy/oauth/authorize?${query}
Required when login is set to true.
-
getNameHeaders
public List<String> getNameHeaders()
nameHeaders is the set of headers to check for the display name
-
setNameHeaders
public void setNameHeaders(List<String> nameHeaders)
nameHeaders is the set of headers to check for the display name
-
getPreferredUsernameHeaders
public List<String> getPreferredUsernameHeaders()
preferredUsernameHeaders is the set of headers to check for the preferred username
-
setPreferredUsernameHeaders
public void setPreferredUsernameHeaders(List<String> preferredUsernameHeaders)
preferredUsernameHeaders is the set of headers to check for the preferred username
-
edit
public RequestHeaderIdentityProviderBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<RequestHeaderIdentityProviderBuilder>
-
toBuilder
public RequestHeaderIdentityProviderBuilder toBuilder()
-
-