Package org.infinispan.security.mappers
Interface NameRewriter
- All Known Implementing Classes:
CaseNameRewriter
,RegexNameRewriter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
- Since:
- 15.0
-
Field Summary
-
Method Summary
-
Field Details
-
IDENTITY_REWRITER
-
-
Method Details
-
rewriteName
Rewrite a name. Must not returnnull
.- Parameters:
original
- the original name (must not benull
)- Returns:
- the rewritten name, or
null
if the name is invalid
-