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.
  • Constructor Details

    • Default

      public Default()
  • Method Details

    • generateNodeName

      @NotNull public @NotNull String generateNodeName(@NotNull @NotNull String authorizableId)
      Description copied from interface: AuthorizableNodeName
      Generates a node name from the specified authorizableId.
      Specified by:
      generateNodeName in interface AuthorizableNodeName
      Parameters:
      authorizableId - The ID of the authorizable to be created.
      Returns:
      A valid node name.