Skip to content

JwtVerifyHandler needs to handle properly the value returned by the Config module #70

@ddobrin

Description

@ddobrin

The Handler, in isEnabled(), needs to handle the isEnabld flag regardless if it is returned as an Object or primitive boolean.

Change is:
@OverRide
public boolean isEnabled() {
Object object = config.get(JwtHelper.ENABLE_VERIFY_JWT);
return object != null && Boolean.valueOf(object.toString()) ;
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions