Class AbstractAuthorizableAction

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void init​(SecurityProvider securityProvider, ConfigurationParameters config)
      Doesn't perform any action.
      void onCreate​(@NotNull org.apache.jackrabbit.api.security.user.Group group, @NotNull org.apache.jackrabbit.oak.api.Root root, @NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
      Doesn't perform any action.
      void onCreate​(@NotNull org.apache.jackrabbit.api.security.user.User user, @Nullable String password, @NotNull org.apache.jackrabbit.oak.api.Root root, @NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
      Doesn't perform any action.
      void onPasswordChange​(@NotNull org.apache.jackrabbit.api.security.user.User user, @Nullable String newPassword, @NotNull org.apache.jackrabbit.oak.api.Root root, @NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
      Doesn't perform any action.
      void onRemove​(@NotNull org.apache.jackrabbit.api.security.user.Authorizable authorizable, @NotNull org.apache.jackrabbit.oak.api.Root root, @NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
      Doesn't perform any action.
    • Constructor Detail

      • AbstractAuthorizableAction

        public AbstractAuthorizableAction()
    • Method Detail

      • onCreate

        public void onCreate​(@NotNull
                             @NotNull org.apache.jackrabbit.api.security.user.Group group,
                             @NotNull
                             @NotNull org.apache.jackrabbit.oak.api.Root root,
                             @NotNull
                             @NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
                      throws RepositoryException
        Doesn't perform any action.
        Specified by:
        onCreate in interface AuthorizableAction
        Parameters:
        group - The new group that has not yet been persisted; e.g. the associated tree is still 'NEW'.
        root - The root associated with the user manager.
        Throws:
        RepositoryException - If an error occurs.
      • onCreate

        public void onCreate​(@NotNull
                             @NotNull org.apache.jackrabbit.api.security.user.User user,
                             @Nullable
                             @Nullable String password,
                             @NotNull
                             @NotNull org.apache.jackrabbit.oak.api.Root root,
                             @NotNull
                             @NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
                      throws RepositoryException
        Doesn't perform any action.
        Specified by:
        onCreate in interface AuthorizableAction
        Parameters:
        user - The new user that has not yet been persisted; e.g. the associated tree is still 'NEW'.
        password - The password that was specified upon user creation.
        root - The root associated with the user manager.
        Throws:
        RepositoryException - If an error occurs.
      • onRemove

        public void onRemove​(@NotNull
                             @NotNull org.apache.jackrabbit.api.security.user.Authorizable authorizable,
                             @NotNull
                             @NotNull org.apache.jackrabbit.oak.api.Root root,
                             @NotNull
                             @NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
                      throws RepositoryException
        Doesn't perform any action.
        Specified by:
        onRemove in interface AuthorizableAction
        Parameters:
        authorizable - The authorizable to be removed.
        root - The root associated with the user manager.
        Throws:
        RepositoryException - If an error occurs.
      • onPasswordChange

        public void onPasswordChange​(@NotNull
                                     @NotNull org.apache.jackrabbit.api.security.user.User user,
                                     @Nullable
                                     @Nullable String newPassword,
                                     @NotNull
                                     @NotNull org.apache.jackrabbit.oak.api.Root root,
                                     @NotNull
                                     @NotNull org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
                              throws RepositoryException
        Doesn't perform any action.
        Specified by:
        onPasswordChange in interface AuthorizableAction
        Parameters:
        user - The user that whose password is going to change.
        newPassword - The new password as specified in User.changePassword(java.lang.String)
        root - The root associated with the user manager.
        Throws:
        RepositoryException - If an exception or error occurs.