Class AuthenticationSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.AuthenticationSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<AuthenticationSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class AuthenticationSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<AuthenticationSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthenticationSpec()No args constructor for use in serializationAuthenticationSpec(ConfigMapNameReference oauthMetadata, List<OIDCProvider> oidcProviders, String serviceAccountIssuer, String type, WebhookTokenAuthenticator webhookTokenAuthenticator, List<DeprecatedWebhookTokenAuthenticator> webhookTokenAuthenticators)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationSpecBuilderedit()Map<String,Object>getAdditionalProperties()ConfigMapNameReferencegetOauthMetadata()List<OIDCProvider>getOidcProviders()oidcProviders are OIDC identity providers that can issue tokens for this cluster Can only be set if "Type" is set to "OIDC".StringgetServiceAccountIssuer()serviceAccountIssuer is the identifier of the bound service account token issuer.StringgetType()type identifies the cluster managed, user facing authentication mode in use.WebhookTokenAuthenticatorgetWebhookTokenAuthenticator()List<DeprecatedWebhookTokenAuthenticator>getWebhookTokenAuthenticators()webhookTokenAuthenticators is DEPRECATED, setting it has no effect.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetOauthMetadata(ConfigMapNameReference oauthMetadata)voidsetOidcProviders(List<OIDCProvider> oidcProviders)oidcProviders are OIDC identity providers that can issue tokens for this cluster Can only be set if "Type" is set to "OIDC".voidsetServiceAccountIssuer(String serviceAccountIssuer)serviceAccountIssuer is the identifier of the bound service account token issuer.voidsetType(String type)type identifies the cluster managed, user facing authentication mode in use.voidsetWebhookTokenAuthenticator(WebhookTokenAuthenticator webhookTokenAuthenticator)voidsetWebhookTokenAuthenticators(List<DeprecatedWebhookTokenAuthenticator> webhookTokenAuthenticators)webhookTokenAuthenticators is DEPRECATED, setting it has no effect.AuthenticationSpecBuildertoBuilder()
-
-
-
Constructor Detail
-
AuthenticationSpec
public AuthenticationSpec()
No args constructor for use in serialization
-
AuthenticationSpec
public AuthenticationSpec(ConfigMapNameReference oauthMetadata, List<OIDCProvider> oidcProviders, String serviceAccountIssuer, String type, WebhookTokenAuthenticator webhookTokenAuthenticator, List<DeprecatedWebhookTokenAuthenticator> webhookTokenAuthenticators)
-
-
Method Detail
-
getOauthMetadata
public ConfigMapNameReference getOauthMetadata()
-
setOauthMetadata
public void setOauthMetadata(ConfigMapNameReference oauthMetadata)
-
getOidcProviders
public List<OIDCProvider> getOidcProviders()
oidcProviders are OIDC identity providers that can issue tokens for this cluster Can only be set if "Type" is set to "OIDC".At most one provider can be configured.
-
setOidcProviders
public void setOidcProviders(List<OIDCProvider> oidcProviders)
oidcProviders are OIDC identity providers that can issue tokens for this cluster Can only be set if "Type" is set to "OIDC".At most one provider can be configured.
-
getServiceAccountIssuer
public String getServiceAccountIssuer()
serviceAccountIssuer is the identifier of the bound service account token issuer. The default is https://kubernetes.default.svc WARNING: Updating this field will not result in immediate invalidation of all bound tokens with the previous issuer value. Instead, the tokens issued by previous service account issuer will continue to be trusted for a time period chosen by the platform (currently set to 24h). This time period is subject to change over time. This allows internal components to transition to use new service account issuer without service distruption.
-
setServiceAccountIssuer
public void setServiceAccountIssuer(String serviceAccountIssuer)
serviceAccountIssuer is the identifier of the bound service account token issuer. The default is https://kubernetes.default.svc WARNING: Updating this field will not result in immediate invalidation of all bound tokens with the previous issuer value. Instead, the tokens issued by previous service account issuer will continue to be trusted for a time period chosen by the platform (currently set to 24h). This time period is subject to change over time. This allows internal components to transition to use new service account issuer without service distruption.
-
getType
public String getType()
type identifies the cluster managed, user facing authentication mode in use. Specifically, it manages the component that responds to login attempts. The default is IntegratedOAuth.
-
setType
public void setType(String type)
type identifies the cluster managed, user facing authentication mode in use. Specifically, it manages the component that responds to login attempts. The default is IntegratedOAuth.
-
getWebhookTokenAuthenticator
public WebhookTokenAuthenticator getWebhookTokenAuthenticator()
-
setWebhookTokenAuthenticator
public void setWebhookTokenAuthenticator(WebhookTokenAuthenticator webhookTokenAuthenticator)
-
getWebhookTokenAuthenticators
public List<DeprecatedWebhookTokenAuthenticator> getWebhookTokenAuthenticators()
webhookTokenAuthenticators is DEPRECATED, setting it has no effect.
-
setWebhookTokenAuthenticators
public void setWebhookTokenAuthenticators(List<DeprecatedWebhookTokenAuthenticator> webhookTokenAuthenticators)
webhookTokenAuthenticators is DEPRECATED, setting it has no effect.
-
edit
public AuthenticationSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<AuthenticationSpecBuilder>
-
toBuilder
public AuthenticationSpecBuilder toBuilder()
-
-