public class KerberosSecurityFactory<T extends KerberosSecurityFactory<T>> extends Object
Constructor and Description |
---|
KerberosSecurityFactory(String key) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
Boolean |
debug()
Should the JAAS step of obtaining the credential have debug logging
enabled.
|
T |
debug(Boolean value)
Should the JAAS step of obtaining the credential have debug logging
enabled.
|
Integer |
failCache()
Amount of seconds before new try to obtain server credential should be
done if it has failed last time.
|
T |
failCache(Integer value)
Amount of seconds before new try to obtain server credential should be
done if it has failed last time.
|
String |
getKey() |
T |
mechanismName(String value)
The mechanism names the credential should be usable with.
|
List<String> |
mechanismNames()
The mechanism names the credential should be usable with.
|
T |
mechanismNames(List<String> value)
The mechanism names the credential should be usable with.
|
T |
mechanismNames(String... args)
The mechanism names the credential should be usable with.
|
T |
mechanismOid(String value)
The mechanism OIDs the credential should be usable with.
|
List<String> |
mechanismOids()
The mechanism OIDs the credential should be usable with.
|
T |
mechanismOids(List<String> value)
The mechanism OIDs the credential should be usable with.
|
T |
mechanismOids(String... args)
The mechanism OIDs the credential should be usable with.
|
Integer |
minimumRemainingLifetime()
How much lifetime (in seconds) should a cached credential have remaining
before it is recreated.
|
T |
minimumRemainingLifetime(Integer value)
How much lifetime (in seconds) should a cached credential have remaining
before it is recreated.
|
Boolean |
obtainKerberosTicket()
Should the KerberosTicket also be obtained and associated with the
credential.
|
T |
obtainKerberosTicket(Boolean value)
Should the KerberosTicket also be obtained and associated with the
credential.
|
T |
option(String key,
Object value)
The Krb5LoginModule additional options.
|
Map |
options()
The Krb5LoginModule additional options.
|
T |
options(Map value)
The Krb5LoginModule additional options.
|
String |
path()
The path of the KeyTab to load to obtain the credential.
|
T |
path(String value)
The path of the KeyTab to load to obtain the credential.
|
String |
principal()
The principal represented by the KeyTab
|
T |
principal(String value)
The principal represented by the KeyTab
|
String |
relativeTo()
The name of another previously named path, or of one of the standard
paths provided by the system.
|
T |
relativeTo(String value)
The name of another previously named path, or of one of the standard
paths provided by the system.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
Integer |
requestLifetime()
How much lifetime (in seconds) should be requested for newly created
credentials.
|
T |
requestLifetime(Integer value)
How much lifetime (in seconds) should be requested for newly created
credentials.
|
Boolean |
required()
Is the keytab file with adequate principal required to exist at the time
the service starts?
|
T |
required(Boolean value)
Is the keytab file with adequate principal required to exist at the time
the service starts?
|
Boolean |
server()
If this for use server side or client side?
|
T |
server(Boolean value)
If this for use server side or client side?
|
Boolean |
wrapGssCredential()
Should generated GSS credentials be wrapped to prevent improper disposal
or not?
|
T |
wrapGssCredential(Boolean value)
Should generated GSS credentials be wrapped to prevent improper disposal
or not?
|
public KerberosSecurityFactory(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Boolean debug()
public T debug(Boolean value)
public Integer failCache()
public T failCache(Integer value)
public List<String> mechanismNames()
public T mechanismNames(List<String> value)
public T mechanismName(String value)
public T mechanismNames(String... args)
public List<String> mechanismOids()
public T mechanismOids(List<String> value)
public T mechanismOid(String value)
public T mechanismOids(String... args)
public Integer minimumRemainingLifetime()
public T minimumRemainingLifetime(Integer value)
public Boolean obtainKerberosTicket()
public T obtainKerberosTicket(Boolean value)
public Map options()
public String path()
public String principal()
public String relativeTo()
public T relativeTo(String value)
public Integer requestLifetime()
public T requestLifetime(Integer value)
public Boolean required()
public T required(Boolean value)
public Boolean server()
public Boolean wrapGssCredential()
Copyright © 2020 JBoss by Red Hat. All rights reserved.