public class SecurityDomain extends Object implements Serializable
Constructor and Description |
---|
SecurityDomain() |
SecurityDomain(String name) |
SecurityDomain(String name,
AppConfigurationEntry[] entries) |
Modifier and Type | Method and Description |
---|---|
static AppConfigurationEntry.LoginModuleControlFlag |
controlFlagFromString(String flag) |
static String |
controlFlagToString(AppConfigurationEntry.LoginModuleControlFlag flag) |
AppConfigurationEntry[] |
getAppConfigurationEntries() |
String |
getName() |
LoginContext |
login(CallbackHandler handler) |
LoginContext |
login(String username,
Object credentials) |
LoginContext |
login(Subject subject) |
LoginContext |
login(Subject subject,
CallbackHandler handler) |
void |
setAppConfigurationEntries(AppConfigurationEntry[] entries) |
void |
setEntries(List<LoginModuleDescriptor> descriptors) |
public SecurityDomain()
public SecurityDomain(String name)
public SecurityDomain(String name, AppConfigurationEntry[] entries)
public AppConfigurationEntry[] getAppConfigurationEntries()
public void setAppConfigurationEntries(AppConfigurationEntry[] entries)
public void setEntries(List<LoginModuleDescriptor> descriptors)
public LoginContext login(Subject subject) throws LoginException
LoginException
public LoginContext login(CallbackHandler handler) throws LoginException
LoginException
public LoginContext login(Subject subject, CallbackHandler handler) throws LoginException
LoginException
public LoginContext login(String username, Object credentials) throws LoginException
LoginException
public static String controlFlagToString(AppConfigurationEntry.LoginModuleControlFlag flag)
public static AppConfigurationEntry.LoginModuleControlFlag controlFlagFromString(String flag)
Copyright © 2015 Nuxeo SA. All rights reserved.