Package org.wildfly.security.sasl.util
Class SaslWrappers
- java.lang.Object
-
- org.wildfly.security.sasl.util.SaslWrappers
-
public final class SaslWrappers extends Object
Utility methods for SASL wrappers.- Author:
- David M. Lloyd
-
-
Constructor Summary
Constructors Modifier Constructor Description private
SaslWrappers()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SaslWrapper
wrapperFor(SaslClient saslClient)
Get a wrapper for the given SASL client.static SaslWrapper
wrapperFor(SaslServer saslServer)
Get a wrapper for the given SASL server.
-
-
-
Method Detail
-
wrapperFor
public static SaslWrapper wrapperFor(SaslClient saslClient)
Get a wrapper for the given SASL client.- Parameters:
saslClient
- the SASL client- Returns:
- the SASL wrapper
-
wrapperFor
public static SaslWrapper wrapperFor(SaslServer saslServer)
Get a wrapper for the given SASL server.- Parameters:
saslServer
- the SASL server- Returns:
- the SASL wrapper
-
-