Class ValidationService


  • @ApplicationScoped
    @Named("u2fValidationService")
    public class ValidationService
    extends java.lang.Object
    Utility to validate U2F input data
    Version:
    August 9, 2017
    Author:
    Yuriy Movchan
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isValidEnrollmentCode​(java.lang.String userName, java.lang.String enrollmentCode)  
      boolean isValidSessionId​(java.lang.String userName, java.lang.String sessionId)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ValidationService

        public ValidationService()
    • Method Detail

      • isValidSessionId

        public boolean isValidSessionId​(java.lang.String userName,
                                        java.lang.String sessionId)
      • isValidEnrollmentCode

        public boolean isValidEnrollmentCode​(java.lang.String userName,
                                             java.lang.String enrollmentCode)