public class STSLoginModule extends Object implements LoginModule
Modifier and Type | Field and Description |
---|---|
static String |
CXF_SPRING_CFG
The location of a Spring configuration file that can be used to configure the
STS client (for example, to configure the TrustStore if TLS is used).
|
static String |
DISABLE_CACHING
Whether to disable caching of validated credentials or not.
|
static String |
DISABLE_ON_BEHALF_OF
Whether to disable passing Username + Password credentials via "OnBehalfOf".
|
static String |
ENDPOINT_NAME
The Endpoint QName of the STS
|
static String |
KEY_SIZE
The default key size to use if using the SymmetricKey KeyType.
|
static String |
KEY_TYPE
The key type to use.
|
static String |
REQUIRE_ROLES
Whether we require roles or not from the STS.
|
static String |
SERVICE_NAME
The Service QName of the STS
|
static String |
TOKEN_TYPE
The token type to use.
|
static String |
WS_TRUST_NAMESPACE
The WS-Trust namespace to use.
|
static String |
WSDL_LOCATION
The WSDL Location of the STS
|
Constructor and Description |
---|
STSLoginModule() |
Modifier and Type | Method and Description |
---|---|
boolean |
abort() |
boolean |
commit() |
void |
initialize(Subject subj,
CallbackHandler cbHandler,
Map<String,?> sharedState,
Map<String,?> options) |
boolean |
login() |
boolean |
logout() |
public static final String REQUIRE_ROLES
public static final String DISABLE_ON_BEHALF_OF
public static final String DISABLE_CACHING
public static final String WSDL_LOCATION
public static final String SERVICE_NAME
public static final String ENDPOINT_NAME
public static final String KEY_SIZE
public static final String KEY_TYPE
public static final String TOKEN_TYPE
public static final String WS_TRUST_NAMESPACE
public static final String CXF_SPRING_CFG
public void initialize(Subject subj, CallbackHandler cbHandler, Map<String,?> sharedState, Map<String,?> options)
initialize
in interface LoginModule
public boolean login() throws LoginException
login
in interface LoginModule
LoginException
public boolean commit() throws LoginException
commit
in interface LoginModule
LoginException
public boolean abort() throws LoginException
abort
in interface LoginModule
LoginException
public boolean logout() throws LoginException
logout
in interface LoginModule
LoginException
Apache CXF