|
Eclipse Platform Release 3.4 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.equinox.security.auth.LoginContextFactory
The LoginContextFactory class is the entry point for the login support for the platform. Use it to create login contexts.
This class is not intended to be instantiated or extended by clients.
Constructor Summary | |
LoginContextFactory()
|
Method Summary | |
static ILoginContext |
createContext(String configName)
Creates application-specific security context. |
static ILoginContext |
createContext(String configName,
URL configFile)
Creates application-specific security context. |
static ILoginContext |
createContext(String configName,
URL configFile,
CallbackHandler handler)
Creates application-specific security context. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LoginContextFactory()
Method Detail |
public static ILoginContext createContext(String configName, URL configFile)
Due to the way default Java Configuration is initialized, this context should be
created first. If standard JAAS files are used with the standard configuration,
the initialization will fail unless this context created first, prior to
any calls to createContext(String)
.
configName
- the name of login configuration to useconfigFile
- points to the standard JASS configuration file
public static ILoginContext createContext(String configName, URL configFile, CallbackHandler handler)
Due to the way default Java Configuration is initialized, this context should be
created first. If standard JAAS files are used with the standard configuration,
the initialization will fail unless this context created first, prior to
any calls to createContext(String)
.
configName
- the name of login configuration to useconfigFile
- points to the standard JASS configuration filehandler
- optional callback handler, might be null
public static ILoginContext createContext(String configName)
configName
- the name of login configuration to use
|
Eclipse Platform Release 3.4 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.