Class AbstractAuthorizableAction

    • Constructor Detail

      • AbstractAuthorizableAction

        public AbstractAuthorizableAction()
    • Method Detail

      • init

        public void init​(@NotNull
                         @NotNull SecurityProvider securityProvider,
                         @NotNull
                         @NotNull ConfigurationParameters config)
        Doesn't perform any action.
        Specified by:
        init in interface AuthorizableAction
        Parameters:
        securityProvider - The security provider present with the repository
        config - The configuration parameters for this action.
      • onCreate

        public void onCreate​(@NotNull
                             @NotNull Group group,
                             @NotNull
                             @NotNull Root root,
                             @NotNull
                             @NotNull 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 User user,
                             @Nullable
                             @Nullable java.lang.String password,
                             @NotNull
                             @NotNull Root root,
                             @NotNull
                             @NotNull 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.