Package | Description |
---|---|
org.jdesktop.swingx |
Contains extensions to the Swing GUI toolkit, including new and enhanced
components that provide functionality commonly required by rich,
data-centric client applications.
|
org.jdesktop.swingx.auth |
Contains classes and interfaces used by the
JXLoginPane component. |
Modifier and Type | Method and Description |
---|---|
LoginService |
JXLoginPane.getLoginService()
Gets the LoginService for this panel.
|
Modifier and Type | Method and Description |
---|---|
void |
JXLoginPane.setLoginService(LoginService service)
Sets the
LoginService for this panel. |
static JXLoginPane.Status |
JXLoginPane.showLoginDialog(Component parent,
LoginService svc)
Shows a login dialog.
|
static JXLoginPane.Status |
JXLoginPane.showLoginDialog(Component parent,
LoginService svc,
PasswordStore ps,
UserNameStore us)
Shows a login dialog.
|
static JXLoginPane.Status |
JXLoginPane.showLoginDialog(Component parent,
LoginService svc,
PasswordStore ps,
UserNameStore us,
List<String> servers)
Shows a login dialog.
|
static JXLoginPane.JXLoginFrame |
JXLoginPane.showLoginFrame(LoginService svc)
Shows a login frame.
|
static JXLoginPane.JXLoginFrame |
JXLoginPane.showLoginFrame(LoginService svc,
PasswordStore ps,
UserNameStore us) |
static JXLoginPane.JXLoginFrame |
JXLoginPane.showLoginFrame(LoginService svc,
PasswordStore ps,
UserNameStore us,
List<String> servers) |
Constructor and Description |
---|
JXLoginPane(LoginService service)
Create a
JXLoginPane with the specified LoginService
that does not store user ids or passwords and has no target servers. |
JXLoginPane(LoginService service,
PasswordStore passwordStore,
UserNameStore userStore)
Create a
JXLoginPane with the specified LoginService ,
PasswordStore , and UserNameStore , but without a server
list. |
JXLoginPane(LoginService service,
PasswordStore passwordStore,
UserNameStore userStore,
List<String> servers)
Create a
JXLoginPane with the specified LoginService ,
PasswordStore , UserNameStore , and server list. |
Modifier and Type | Class and Description |
---|---|
class |
JAASLoginService
JAASLoginService implements a LoginService
that uses JAAS for authentication.
|
class |
JDBCLoginService
A login service for connecting to SQL based databases via JDBC
|
class |
SimpleLoginService
An implementation of LoginService that simply matches
the username/password against a list of known users and their passwords.
|
Copyright © 2013. All rights reserved.