作者:小猪朱一凡 | 来源:互联网 | 2023-09-23 09:51
本文整理了Java中org.wildfly.security.auth.client.AuthenticationConfiguration.createSaslClient()
本文整理了Java中org.wildfly.security.auth.client.AuthenticationConfiguration.createSaslClient()
方法的一些代码示例,展示了AuthenticationConfiguration.createSaslClient()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。AuthenticationConfiguration.createSaslClient()
方法的具体详情如下:
包路径:org.wildfly.security.auth.client.AuthenticationConfiguration
类名称:AuthenticationConfiguration
方法名:createSaslClient
AuthenticationConfiguration.createSaslClient介绍
暂无
代码示例
代码示例来源:origin: wildfly/wildfly
/**
* Create a SASL client using the given URI and configuration from the given SASL client factory.
*
* @param uri the target URI (must not be {@code null})
* @param configuration the authentication configuration (must not be {@code null})
* @param offeredMechanisms the available mechanisms (must not be {@code null})
* @param factoryOperator a {@link UnaryOperator} to apply to the {@link SaslClientFactory} used
* @param sslSession the SSL session active for this connection, or {@code null} for none
* @return the SASL client, or {@code null} if no clients were available or could be configured
*/
public SaslClient createSaslClient(URI uri, AuthenticationConfiguration configuration, Collection offeredMechanisms, UnaryOperator factoryOperator, final SSLSession sslSession) throws SaslException {
return configuration.createSaslClient(uri, offeredMechanisms, factoryOperator, sslSession);
}
代码示例来源:origin: org.jboss.eap/wildfly-client-all
/**
* Create a SASL client using the given URI and configuration from the given SASL client factory.
*
* @param uri the target URI (must not be {@code null})
* @param configuration the authentication configuration (must not be {@code null})
* @param offeredMechanisms the available mechanisms (must not be {@code null})
* @param factoryOperator a {@link UnaryOperator} to apply to the {@link SaslClientFactory} used
* @param sslSession the SSL session active for this connection, or {@code null} for none
* @return the SASL client, or {@code null} if no clients were available or could be configured
*/
public SaslClient createSaslClient(URI uri, AuthenticationConfiguration configuration, Collection offeredMechanisms, UnaryOperator factoryOperator, final SSLSession sslSession) throws SaslException {
return configuration.createSaslClient(uri, offeredMechanisms, factoryOperator, sslSession);
}
代码示例来源:origin: org.wildfly.security/wildfly-elytron-client
/**
* Create a SASL client using the given URI and configuration from the given SASL client factory.
*
* @param uri the target URI (must not be {@code null})
* @param configuration the authentication configuration (must not be {@code null})
* @param offeredMechanisms the available mechanisms (must not be {@code null})
* @param factoryOperator a {@link UnaryOperator} to apply to the {@link SaslClientFactory} used
* @param sslSession the SSL session active for this connection, or {@code null} for none
* @return the SASL client, or {@code null} if no clients were available or could be configured
*/
public SaslClient createSaslClient(URI uri, AuthenticationConfiguration configuration, Collection offeredMechanisms, UnaryOperator factoryOperator, final SSLSession sslSession) throws SaslException {
return configuration.createSaslClient(uri, offeredMechanisms, factoryOperator, sslSession);
}
代码示例来源:origin: org.wildfly.security/wildfly-elytron
/**
* Create a SASL client using the given URI and configuration from the given SASL client factory.
*
* @param uri the target URI (must not be {@code null})
* @param configuration the authentication configuration (must not be {@code null})
* @param offeredMechanisms the available mechanisms (must not be {@code null})
* @param factoryOperator a {@link UnaryOperator} to apply to the {@link SaslClientFactory} used
* @param sslSession the SSL session active for this connection, or {@code null} for none
* @return the SASL client, or {@code null} if no clients were available or could be configured
*/
public SaslClient createSaslClient(URI uri, AuthenticationConfiguration configuration, Collection offeredMechanisms, UnaryOperator factoryOperator, final SSLSession sslSession) throws SaslException {
return configuration.createSaslClient(uri, offeredMechanisms, factoryOperator, sslSession);
}