Class ClientDataValidationService


  • @Named
    public class ClientDataValidationService
    extends java.lang.Object
    Client data validation service
    Author:
    Yuriy Movchan Date: 05/20/2015
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String canonicalizeOrigin​(java.lang.String url)  
      static java.util.Set<java.lang.String> canonicalizeOrigins​(java.util.Set<java.lang.String> origins)  
      void checkContent​(io.jans.as.model.fido.u2f.protocol.ClientData clientData, java.lang.String[] types, java.lang.String challenge, java.util.Set<java.lang.String> facets)  
      • Methods inherited from class java.lang.Object

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

      • ClientDataValidationService

        public ClientDataValidationService()
    • Method Detail

      • checkContent

        public void checkContent​(io.jans.as.model.fido.u2f.protocol.ClientData clientData,
                                 java.lang.String[] types,
                                 java.lang.String challenge,
                                 java.util.Set<java.lang.String> facets)
                          throws io.jans.as.model.fido.u2f.exception.BadInputException
        Throws:
        io.jans.as.model.fido.u2f.exception.BadInputException
      • canonicalizeOrigins

        public static java.util.Set<java.lang.String> canonicalizeOrigins​(java.util.Set<java.lang.String> origins)
      • canonicalizeOrigin

        public static java.lang.String canonicalizeOrigin​(java.lang.String url)