Class UserAuthenticatorUtils


  • public class UserAuthenticatorUtils
    extends java.lang.Object
    some helper
    • Constructor Detail

      • UserAuthenticatorUtils

        public UserAuthenticatorUtils()
    • Method Detail

      • getData

        public 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
      • toChar

        public static char[] toChar​(java.lang.String string)
        converts a string to a char array (null safe)
      • cleanup

        public static void cleanup​(UserAuthenticationData authData)
        cleanup the data in the UerAuthenticationData (null safe)
      • toString

        public static java.lang.String toString​(char[] data)
        converts the given data to a string (null safe)