Class AuthorizableNodeName.Default
- java.lang.Object
-
- org.apache.jackrabbit.oak.spi.security.user.AuthorizableNodeName.Default
-
- All Implemented Interfaces:
AuthorizableNodeName
- Enclosing interface:
- AuthorizableNodeName
public static final class AuthorizableNodeName.Default extends java.lang.Object implements AuthorizableNodeName
Default implementation of theAuthorizableNodeName
interface that uses the specified authorizable identifier as node nameescaping
any illegal JCR chars.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.jackrabbit.oak.spi.security.user.AuthorizableNodeName
AuthorizableNodeName.Default
-
-
Field Summary
-
Fields inherited from interface org.apache.jackrabbit.oak.spi.security.user.AuthorizableNodeName
DEFAULT
-
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull java.lang.String
generateNodeName(@NotNull java.lang.String authorizableId)
Generates a node name from the specifiedauthorizableId
.
-
-
-
Method Detail
-
generateNodeName
@NotNull public @NotNull java.lang.String generateNodeName(@NotNull @NotNull java.lang.String authorizableId)
Description copied from interface:AuthorizableNodeName
Generates a node name from the specifiedauthorizableId
.- Specified by:
generateNodeName
in interfaceAuthorizableNodeName
- Parameters:
authorizableId
- The ID of the authorizable to be created.- Returns:
- A valid node name.
-
-