Class ClientDataValidationService
- java.lang.Object
-
- io.jans.as.server.service.fido.u2f.ClientDataValidationService
-
@Named 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(io.jans.as.model.fido.u2f.protocol.ClientData clientData, java.lang.String[] types, java.lang.String challenge, java.util.Set<java.lang.String> facets)
-
-
-
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)
-
-