public interface UnAuthenticatorBuilder
UnAuthenticator instances.| Modifier and Type | Field and Description |
|---|---|
static long |
TIMEOUT_DEFAULT |
static long |
TIMEOUT_MINIMUM |
| Modifier and Type | Method and Description |
|---|---|
UnAuthenticator |
build()
Construct an
UnAuthenticator using the settings currently contained in this
builder instance. |
UnAuthenticatorBuilder |
setBrowserDescriptor(BrowserDescriptor browserDescriptor)
Set the browser descriptor indicating which browser to use
to perform the authentication.
|
UnAuthenticatorBuilder |
setDisallowBrowserBasedLogout(boolean bDisallowBrowserBasedLogout)
Set the flag to disallow browser based logout.
|
UnAuthenticatorBuilder |
setDisallowTokenRevocation(boolean bDisallowTokenRevocation)
Set the flag to disallow refresh token revocation.
|
UnAuthenticatorBuilder |
setTimeout(long lTimeoutInMilliseconds)
Set the maximum amount of time that the logout may consume.
|
static final long TIMEOUT_DEFAULT
static final long TIMEOUT_MINIMUM
UnAuthenticatorBuilder setTimeout(long lTimeoutInMilliseconds)
UnAuthenticatorClientCallback will be
called with a report containing all data gathered up to the time the time
out happened.lTimeoutInMilliseconds - The number of millseconds before the logout will
auto-terminate.null.UnAuthenticatorBuilder setDisallowTokenRevocation(boolean bDisallowTokenRevocation)
bDisallowTokenRevocation - 'true' to disallow the refresh token from being revoked
at the identity provider. The defaulr behavior is to allow
refresh token revocation.null.UnAuthenticatorBuilder setDisallowBrowserBasedLogout(boolean bDisallowBrowserBasedLogout)
bDisallowBrowserBasedLogout - 'true' to disallow browser based logout from being performed
at the identity provider. The defaulr behavior is to allow
browser based logout.null.UnAuthenticatorBuilder setBrowserDescriptor(BrowserDescriptor browserDescriptor)
browserDescriptor - The browser descriptor indicating
which browser to use to perform the authentication.null.UnAuthenticator build() throws AuthenticatorException
UnAuthenticator using the settings currently contained in this
builder instance.AuthenticatorException - on any attempt to create an UnAuthenticator
with an invalid configuration.