Interface SecurityService

All Known Implementing Classes:
SoapSecurityClient, SoapSecurityService

public interface SecurityService
Security Web Service definition interface
Since:
6.1
Author:
Matteo Caruso - LogicalDOC
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    changePassword(String sid, long userId, String oldPassword, String newPassword)
    changes the password of a user.
    0 if all is ok, 1 if the password is incorrect, 2 if the new password cannot be notified, otherwise a positive number grater than 2
    void
    deleteGroup(String sid, long groupId)
    Deletes an existing group with the given identifier
    void
    deleteUser(String sid, long userId)
    Deletes an existing user with the given identifier
    getGroup(String sid, long groupId)
    Gets group metadata of an existing group with the given identifier
    getUser(String sid, long userId)
    Gets user metadata of an existing user with the given identifier
    Gets user metadata of an existing user with the given username
    Gets group metadata of all existing groups.
    listUsers(String sid, String group)
    Gets metadata of all existing users
    long
    storeGroup(String sid, WSGroup group)
    Creates/Updates a group.
    long
    storeUser(String sid, WSUser user)
    Creates/Updates a user.