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 Object
implements AuthorizableNodeName
Default implementation of the
AuthorizableNodeName interface
that uses the specified authorizable identifier as node name
escaping
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 -
Method Summary
Modifier and TypeMethodDescription@NotNull StringgenerateNodeName(@NotNull String authorizableId) Generates a node name from the specifiedauthorizableId.
-
Constructor Details
-
Default
public Default()
-
-
Method Details
-
generateNodeName
Description copied from interface:AuthorizableNodeNameGenerates a node name from the specifiedauthorizableId.- Specified by:
generateNodeNamein interfaceAuthorizableNodeName- Parameters:
authorizableId- The ID of the authorizable to be created.- Returns:
- A valid node name.
-