public static final class AuthenticationInfo.Builder
extends java.lang.Object
AuthenticationInfo
.Constructor and Description |
---|
AuthenticationInfo.Builder(AuthenticationInfo.SchemeType schemeType,
java.lang.String scheme)
Constructor with parameters for the required properties of
AuthenticationInfo . |
Modifier and Type | Method and Description |
---|---|
AuthenticationInfo |
build() |
AuthenticationInfo.Builder |
setSessionManager(java.lang.String sessionManager)
In a session aware authentication scheme, a session manager is required that
supports
create , delete and keepAlive methods. |
public AuthenticationInfo.Builder(AuthenticationInfo.SchemeType schemeType, java.lang.String scheme)
AuthenticationInfo
.public AuthenticationInfo.Builder setSessionManager(java.lang.String sessionManager)
create
, delete
and keepAlive
methods. The fully
qualified interface name of the session manager is provided in AuthenticationInfo.getSessionManager()
property. This interface is responsible for handling sessions.
This property is optional and it is only relevant when the value of getSchemeType()
is AuthenticationInfo.SchemeType.SESSION_AWARE
.sessionManager
- New value for the property.public AuthenticationInfo build()