ToastShaman / dropwizard-auth-jwt

A Dropwizard authentication filter using JSON Web Token (JWT)
Apache License 2.0
116 stars 50 forks source link

Add costume config to sample #26

Open mostafaebrahimi opened 7 years ago

mostafaebrahimi commented 7 years ago

when I add sample config.yml file to your sample code get error .How can I solve this problem


server:
  rootPath: "/api/v1/*"
 applicationConnectors:
    - type: http
      port: 8484
  adminConnectors:
    - type: http
      port: 8484

logging:
  level: INFO

get error in this line:(Class SecureResource)

return singletonMap("token", jws.getCompactSerialization());

Is ot wrong with config file?