Package org.gluu.oxauth.service.fido.u2f
Class ClientDataValidationService
- java.lang.Object
-
- org.gluu.oxauth.service.fido.u2f.ClientDataValidationService
-
@ApplicationScoped public class ClientDataValidationService extends java.lang.Object
Client data validation service- Author:
- Yuriy Movchan Date: 05/20/2015
-
-
Constructor Summary
Constructors Constructor Description ClientDataValidationService()
-
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(ClientData clientData, java.lang.String[] types, java.lang.String challenge, java.util.Set<java.lang.String> facets)
-
-
-
Method Detail
-
checkContent
public void checkContent(ClientData clientData, java.lang.String[] types, java.lang.String challenge, java.util.Set<java.lang.String> facets) throws BadInputException
- Throws:
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)
-
-