public class LoginContextFactory extends Object
Modifier and Type | Method and Description |
---|---|
LoginContext |
createLoginContext(AMLoginContext context,
Subject subject,
String configName,
boolean isPureJAAS,
Configuration configuration)
Creates an appropriate version of a login context object based on the provided parameters
|
static LoginContextFactory |
getInstance() |
public static LoginContextFactory getInstance()
public LoginContext createLoginContext(AMLoginContext context, Subject subject, String configName, boolean isPureJAAS, Configuration configuration) throws LoginException
context
- the AMLoginContext that is requesting a login contextsubject
- the subject that is attempting to log in - may be nullconfigName
- the config name for the JAAS object, must not be null.isPureJAAS
- true if there are only pure JAASconfiguration
- the authentication configurationLoginException
- if the login context could not be createdCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.