public final class SaslUtils
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
static java.util.Iterator<javax.security.sasl.SaslClientFactory> |
getSaslClientFactories()
Returns an iterator of all of the registered
SaslClientFactory s where the order is
based on the order of the Provider registration and/or class path order. |
static java.util.Iterator<javax.security.sasl.SaslClientFactory> |
getSaslClientFactories(java.lang.ClassLoader classLoader,
boolean includeGlobal)
Returns an iterator of all of the registered
SaslClientFactory s where the order is
based on the order of the Provider registration and/or class path order. |
static javax.security.sasl.SaslClientFactory |
getSaslClientFactory(java.lang.String mech,
java.util.Map<java.lang.String,?> props) |
static java.util.Iterator<javax.security.sasl.SaslServerFactory> |
getSaslServerFactories()
Returns an iterator of all of the registered
SaslServerFactory s where the order is
based on the order of the Provider registration and/or class path order. |
static java.util.Iterator<javax.security.sasl.SaslServerFactory> |
getSaslServerFactories(java.lang.ClassLoader classLoader,
boolean includeGlobal)
Returns an iterator of all of the registered
SaslServerFactory s where the order is
based on the order of the Provider registration and/or class path order. |
static javax.security.sasl.SaslServerFactory |
getSaslServerFactory(java.lang.String mech,
java.util.Map<java.lang.String,?> props) |
public static java.util.Iterator<javax.security.sasl.SaslServerFactory> getSaslServerFactories(java.lang.ClassLoader classLoader, boolean includeGlobal)
SaslServerFactory
s where the order is
based on the order of the Provider registration and/or class path order. Class path providers
are listed before global providers; in the event of a name conflict, the class path provider
is preferred.classLoader
- the class loader to useincludeGlobal
- true
to include globally registered providers, false
to exclude
themIterator
of SaslServerFactory
spublic static java.util.Iterator<javax.security.sasl.SaslServerFactory> getSaslServerFactories()
SaslServerFactory
s where the order is
based on the order of the Provider registration and/or class path order.Iterator
of SaslServerFactory
spublic static java.util.Iterator<javax.security.sasl.SaslClientFactory> getSaslClientFactories(java.lang.ClassLoader classLoader, boolean includeGlobal)
SaslClientFactory
s where the order is
based on the order of the Provider registration and/or class path order. Class path providers
are listed before global providers; in the event of a name conflict, the class path provider
is preferred.classLoader
- the class loader to useincludeGlobal
- true
to include globally registered providers, false
to exclude
themIterator
of SaslClientFactory
spublic static java.util.Iterator<javax.security.sasl.SaslClientFactory> getSaslClientFactories()
SaslClientFactory
s where the order is
based on the order of the Provider registration and/or class path order.Iterator
of SaslClientFactory
spublic static javax.security.sasl.SaslServerFactory getSaslServerFactory(java.lang.String mech, java.util.Map<java.lang.String,?> props)
public static javax.security.sasl.SaslClientFactory getSaslClientFactory(java.lang.String mech, java.util.Map<java.lang.String,?> props)