public class AuthInfoFluentImpl<A extends AuthInfoFluent<A>> extends BaseFluent<A> implements AuthInfoFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
AuthInfoFluentImpl.AuthProviderNestedImpl<N> |
class |
AuthInfoFluentImpl.ExtensionsNestedImpl<N> |
AuthInfoFluent.AuthProviderNested<N>, AuthInfoFluent.ExtensionsNested<N>
_visitables
Constructor and Description |
---|
AuthInfoFluentImpl() |
AuthInfoFluentImpl(AuthInfo instance) |
public AuthInfoFluentImpl()
public AuthInfoFluentImpl(AuthInfo instance)
public String getAs()
getAs
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public A withAs(String as)
withAs
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public Boolean hasAs()
hasAs
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public A addToAsGroups(int index, String item)
addToAsGroups
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public A setToAsGroups(int index, String item)
setToAsGroups
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public A addToAsGroups(String... items)
addToAsGroups
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public A addAllToAsGroups(Collection<String> items)
addAllToAsGroups
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public A removeFromAsGroups(String... items)
removeFromAsGroups
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public A removeAllFromAsGroups(Collection<String> items)
removeAllFromAsGroups
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public List<String> getAsGroups()
getAsGroups
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public String getAsGroup(int index)
getAsGroup
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public String getFirstAsGroup()
getFirstAsGroup
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public String getLastAsGroup()
getLastAsGroup
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public String getMatchingAsGroup(Predicate<String> predicate)
getMatchingAsGroup
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public A withAsGroups(List<String> asGroups)
withAsGroups
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public A withAsGroups(String... asGroups)
withAsGroups
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public Boolean hasAsGroups()
hasAsGroups
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public A addToAsUserExtra(String key, ArrayList<String> value)
addToAsUserExtra
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public A addToAsUserExtra(Map<String,ArrayList<String>> map)
addToAsUserExtra
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public A removeFromAsUserExtra(String key)
removeFromAsUserExtra
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public A removeFromAsUserExtra(Map<String,ArrayList<String>> map)
removeFromAsUserExtra
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public Map<String,ArrayList<String>> getAsUserExtra()
getAsUserExtra
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public A withAsUserExtra(Map<String,ArrayList<String>> asUserExtra)
withAsUserExtra
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public Boolean hasAsUserExtra()
hasAsUserExtra
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
@Deprecated public AuthProviderConfig getAuthProvider()
getAuthProvider
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public AuthProviderConfig buildAuthProvider()
buildAuthProvider
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public A withAuthProvider(AuthProviderConfig authProvider)
withAuthProvider
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public Boolean hasAuthProvider()
hasAuthProvider
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public AuthInfoFluent.AuthProviderNested<A> withNewAuthProvider()
withNewAuthProvider
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public AuthInfoFluent.AuthProviderNested<A> withNewAuthProviderLike(AuthProviderConfig item)
withNewAuthProviderLike
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public AuthInfoFluent.AuthProviderNested<A> editAuthProvider()
editAuthProvider
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public AuthInfoFluent.AuthProviderNested<A> editOrNewAuthProvider()
editOrNewAuthProvider
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public AuthInfoFluent.AuthProviderNested<A> editOrNewAuthProviderLike(AuthProviderConfig item)
editOrNewAuthProviderLike
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public String getClientCertificate()
getClientCertificate
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public A withClientCertificate(String clientCertificate)
withClientCertificate
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public Boolean hasClientCertificate()
hasClientCertificate
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public String getClientCertificateData()
getClientCertificateData
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public A withClientCertificateData(String clientCertificateData)
withClientCertificateData
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public Boolean hasClientCertificateData()
hasClientCertificateData
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public String getClientKey()
getClientKey
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public A withClientKey(String clientKey)
withClientKey
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public Boolean hasClientKey()
hasClientKey
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public String getClientKeyData()
getClientKeyData
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public A withClientKeyData(String clientKeyData)
withClientKeyData
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public Boolean hasClientKeyData()
hasClientKeyData
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public A addToExtensions(int index, NamedExtension item)
addToExtensions
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public A setToExtensions(int index, NamedExtension item)
setToExtensions
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public A addToExtensions(NamedExtension... items)
addToExtensions
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public A addAllToExtensions(Collection<NamedExtension> items)
addAllToExtensions
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public A removeFromExtensions(NamedExtension... items)
removeFromExtensions
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public A removeAllFromExtensions(Collection<NamedExtension> items)
removeAllFromExtensions
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
@Deprecated public List<NamedExtension> getExtensions()
getExtensions
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public List<NamedExtension> buildExtensions()
buildExtensions
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public NamedExtension buildExtension(int index)
buildExtension
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public NamedExtension buildFirstExtension()
buildFirstExtension
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public NamedExtension buildLastExtension()
buildLastExtension
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public NamedExtension buildMatchingExtension(Predicate<NamedExtensionBuilder> predicate)
buildMatchingExtension
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public A withExtensions(List<NamedExtension> extensions)
withExtensions
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public A withExtensions(NamedExtension... extensions)
withExtensions
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public Boolean hasExtensions()
hasExtensions
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public AuthInfoFluent.ExtensionsNested<A> addNewExtension()
addNewExtension
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public AuthInfoFluent.ExtensionsNested<A> addNewExtensionLike(NamedExtension item)
addNewExtensionLike
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public AuthInfoFluent.ExtensionsNested<A> setNewExtensionLike(int index, NamedExtension item)
setNewExtensionLike
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public AuthInfoFluent.ExtensionsNested<A> editExtension(int index)
editExtension
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public AuthInfoFluent.ExtensionsNested<A> editFirstExtension()
editFirstExtension
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public AuthInfoFluent.ExtensionsNested<A> editLastExtension()
editLastExtension
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public AuthInfoFluent.ExtensionsNested<A> editMatchingExtension(Predicate<NamedExtensionBuilder> predicate)
editMatchingExtension
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public String getPassword()
getPassword
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public A withPassword(String password)
withPassword
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public Boolean hasPassword()
hasPassword
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public String getToken()
getToken
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public A withToken(String token)
withToken
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public Boolean hasToken()
hasToken
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public String getTokenFile()
getTokenFile
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public A withTokenFile(String tokenFile)
withTokenFile
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public Boolean hasTokenFile()
hasTokenFile
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public String getUsername()
getUsername
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public A withUsername(String username)
withUsername
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
public Boolean hasUsername()
hasUsername
in interface AuthInfoFluent<A extends AuthInfoFluent<A>>
Copyright © 2015–2018 Red Hat. All rights reserved.