Package | Description |
---|---|
javax.security.auth.login |
This package provides a pluggable authentication framework.
|
Modifier and Type | Method and Description |
---|---|
static Configuration |
Configuration.getConfiguration()
Get the installed login Configuration.
|
static Configuration |
Configuration.getInstance(String type,
Configuration.Parameters params)
Returns a Configuration object of the specified type.
|
static Configuration |
Configuration.getInstance(String type,
Configuration.Parameters params,
Provider provider)
Returns a Configuration object of the specified type.
|
static Configuration |
Configuration.getInstance(String type,
Configuration.Parameters params,
String provider)
Returns a Configuration object of the specified type.
|
Modifier and Type | Method and Description |
---|---|
static void |
Configuration.setConfiguration(Configuration configuration)
Set the login
Configuration . |
Constructor and Description |
---|
LoginContext(String name,
Subject subject,
CallbackHandler callbackHandler,
Configuration config)
Instantiate a new
LoginContext object with a name,
a Subject to be authenticated,
a CallbackHandler object, and a login
Configuration . |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved.