class SimpleTokenManager implements TokenManager {

    @Override
    public SignedJWT generateAuthToken(String username) {
        try {
            return mobiTokenVerifier.generateToken(username, ISSUER, AUTH_SCOPE, tokenDuration, null);
        } catch (JOSEException e) {
            String msg = "Problem Creating JWT Token";
            LOG.error(msg, e);
            throw new MobiException(e);
        }
    }

}