Interface AuthorizableNodeName
- All Known Implementing Classes:
AuthorizableNodeName.Default
,RandomAuthorizableNodeName
,WhiteboardAuthorizableNodeName
public interface AuthorizableNodeName
The
AuthorizableNodeName
is in charge of generating a valid node
name from a given authorizable ID.- Since:
- OAK 1.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
Default implementation of theAuthorizableNodeName
interface that uses the specified authorizable identifier as node nameescaping
any illegal JCR chars. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AuthorizableNodeName
DefaultAuthorizableNodeName
instance. -
Method Summary
Modifier and TypeMethodDescription@NotNull String
generateNodeName
(@NotNull String authorizableId) Generates a node name from the specifiedauthorizableId
.
-
Field Details
-
DEFAULT
DefaultAuthorizableNodeName
instance.- See Also:
-
-
Method Details
-
generateNodeName
Generates a node name from the specifiedauthorizableId
.- Parameters:
authorizableId
- The ID of the authorizable to be created.- Returns:
- A valid node name.
-