# Uses of Interface
org.apache.sling.jackrabbit.usermanager.PrincipalNameGenerator

Packages that use PrincipalNameGenerator
Package
Description
org.apache.sling.jackrabbit.usermanager
org.apache.sling.jackrabbit.usermanager.impl.post

## Uses of PrincipalNameGenerator in org.apache.sling.jackrabbit.usermanager

Methods in org.apache.sling.jackrabbit.usermanager with parameters of type PrincipalNameGenerator
Modifier and Type
Method
Description
`PrincipalNameGenerator.NameInfo`
PrincipalNameGenerator.`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.

## Uses of PrincipalNameGenerator in org.apache.sling.jackrabbit.usermanager.impl.post

Classes in org.apache.sling.jackrabbit.usermanager.impl.post that implement PrincipalNameGenerator
Modifier and Type
Class
Description
`class`
`PrincipalNameGeneratorImpl`
Default implementation that generates a principal name based on a set of well-known request parameters
Methods in org.apache.sling.jackrabbit.usermanager.impl.post with parameters of type PrincipalNameGenerator
Modifier and Type
Method
Description
`protected void`
AbstractAuthorizablePostServlet.`bindPrincipalNameGenerator(PrincipalNameGenerator generator, Map<String,Object> properties)`
Bind a new principal name generator
`protected void`
CreateGroupServlet.`bindPrincipalNameGenerator(PrincipalNameGenerator generator, Map<String,Object> properties)`
`protected void`
CreateUserServlet.`bindPrincipalNameGenerator(PrincipalNameGenerator generator, Map<String,Object> properties)`
`PrincipalNameGenerator.NameInfo`
PrincipalNameGeneratorImpl.`getPrincipalName(Map<String,?> parameters, org.apache.jackrabbit.oak.spi.security.user.AuthorizableType type, PrincipalNameFilter principalNameFilter, PrincipalNameGenerator defaultPrincipalNameGenerator)`
Get a "nice" principal name, if possible, based on given request
`protected void`
AbstractAuthorizablePostServlet.`unbindPrincipalNameGenerator(PrincipalNameGenerator generator)`
`protected void`
CreateGroupServlet.`unbindPrincipalNameGenerator(PrincipalNameGenerator generator)`
`protected void`
CreateUserServlet.`unbindPrincipalNameGenerator(PrincipalNameGenerator generator)`