public class UserAuthenticatorUtils
extends java.lang.Object
Constructor and Description |
---|
UserAuthenticatorUtils() |
Modifier and Type | Method and Description |
---|---|
static UserAuthenticationData |
authenticate(FileSystemOptions opts,
UserAuthenticationData.Type[] authenticatorTypes)
if there is a authenticator the authentication will take place, else null will be reutrned
|
static UserAuthenticationData |
authenticate(UserAuthenticator auth,
UserAuthenticationData.Type[] authenticatorTypes)
if there is a authenticator the authentication will take place, else null will be reutrned
|
static void |
cleanup(UserAuthenticationData authData)
cleanup the data in the UerAuthenticationData (null safe)
|
static char[] |
getData(UserAuthenticationData data,
UserAuthenticationData.Type type,
char[] overwriddenValue)
gets data of given type from the UserAuthenticationData or null if there is no data or data of this type available
|
static char[] |
toChar(java.lang.String string)
converts a string to a char array (null safe)
|
static java.lang.String |
toString(char[] data)
converts the given data to a string (null safe)
|
public static char[] getData(UserAuthenticationData data, UserAuthenticationData.Type type, char[] overwriddenValue)
public static UserAuthenticationData authenticate(FileSystemOptions opts, UserAuthenticationData.Type[] authenticatorTypes)
public static UserAuthenticationData authenticate(UserAuthenticator auth, UserAuthenticationData.Type[] authenticatorTypes)
public static char[] toChar(java.lang.String string)
public static void cleanup(UserAuthenticationData authData)
public static java.lang.String toString(char[] data)