-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
Milestone
Description
Description
Currently, only one tenant can be specified in @TenantFeature
. It would be nice to be able to specify multiple tenants instead of only one.
For example, apply custom Jose4j validator on two tenants:
@TenantFeature({"tenant1", "tenant2"})
@ApplicationScoped
public class CustomValidator implements Validator {
@Override
public String validate(JwtContext jwtContext) throws MalformedClaimException {
return null; // TODO
}
}
Implementation ideas
Change:
String value();
to
String[] value();
and it is backward compatible as @TenantFeature("foo")
works with both String value()
and String[] value()
.