Interface PrincipalNameGenerator
-
- All Known Implementing Classes:
PrincipalNameGeneratorImpl
public interface PrincipalNameGeneratorService interface which allows for custom principal name generation
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPrincipalNameGenerator.NameInfo
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PrincipalNameGenerator.NameInfogetPrincipalName(Map<String,?> parameters, org.apache.jackrabbit.oak.spi.security.user.AuthorizableType type, PrincipalNameFilter principalNameFilter, PrincipalNameGenerator defaultPrincipalNameGenerator)Get the to-be-created principal name candidate from the request.
-
-
-
Method Detail
-
getPrincipalName
PrincipalNameGenerator.NameInfo getPrincipalName(Map<String,?> parameters, org.apache.jackrabbit.oak.spi.security.user.AuthorizableType type, PrincipalNameFilter principalNameFilter, PrincipalNameGenerator defaultPrincipalNameGenerator)
Get the to-be-created principal name candidate from the request.- Parameters:
parameters- the current request parameters maptype- the type of principalprincipalNameFilter- for filtering what characters are allowed in a namedefaultPrincipalNameGenerator- the default principal name generator- Returns:
- the info about the principal name to be created or null if unable to do so
-
-