软件包 | 描述 |
---|---|
java.security |
为安全框架提供类和接口。
|
javax.security.auth.login |
这个包提供了一个可插拔认证框架。
|
javax.security.auth.spi |
这个包提供了用于实现可插入认证模块的接口。
|
javax.security.sasl |
包含支持SASL的类和接口。
|
Modifier and Type | Method and Description |
---|---|
CallbackHandler |
KeyStore.CallbackHandlerProtection.getCallbackHandler()
返回callbackhandler。
|
Modifier and Type | Method and Description |
---|---|
abstract void |
AuthProvider.login(Subject subject, CallbackHandler handler)
登录此提供程序。
|
abstract void |
AuthProvider.setCallbackHandler(CallbackHandler handler)
设置一个
CallbackHandler 。
|
Constructor and Description |
---|
CallbackHandlerProtection(CallbackHandler handler)
从callbackhandler构建新callbackhandlerprotection。
|
Constructor and Description |
---|
LoginContext(String name, CallbackHandler callbackHandler)
实例化一个新的
LoginContext 对象有一个名字和一个
CallbackHandler 对象。
|
LoginContext(String name, Subject subject, CallbackHandler callbackHandler)
实例化一个新的
LoginContext 对象与一个名字,一个
Subject 被认证,和
CallbackHandler 对象。
|
LoginContext(String name, Subject subject, CallbackHandler callbackHandler, Configuration config)
实例化一个新的
LoginContext 对象与一个名字,一个
Subject 被认证,一个
CallbackHandler 对象,和一个登录
Configuration 。
|
Modifier and Type | Method and Description |
---|---|
void |
LoginModule.initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
初始化这个LoginModule。
|
Modifier and Type | Method and Description |
---|---|
SaslClient |
SaslClientFactory.createSaslClient(String[] mechanisms, String authorizationId, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh)
使用提供的参数创建一个saslclient。
|
static SaslClient |
Sasl.createSaslClient(String[] mechanisms, String authorizationId, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh)
使用提供的参数创建一个
SaslClient 。
|
static SaslServer |
Sasl.createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh)
创建一个指定的机构
SaslServer 。
|
SaslServer |
SaslServerFactory.createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh)
使用提供的参数创建一个
SaslServer 。
|
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, 2014, Oracle and/or its affiliates. All rights reserved.