com.sap.security.um.service

## Class UserManagementAccessor

- java.lang.Object
- - com.sap.security.um.service.UserManagementAccessor

-     public class UserManagementAccessor
      extends Object

  A common accessor to user management API implementation.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `UserManagementAccessor()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static UserManagementAccessor` | `getInstance()` Returns User Management Accessor used to get registered user provider.
    `static UserProvider` | `getUserProvider()` Returns user provider that provides read access to the user implementation.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### UserManagementAccessor

          public UserManagementAccessor()

  - ### Method Detail

    - #### getInstance

          public static UserManagementAccessor getInstance()

      Returns User Management Accessor used to get registered user provider.
      Returns:
        User Management Accessor Instance

    - #### getUserProvider

          public static UserProvider getUserProvider()
                                              throws PersistenceException

      Returns user provider that provides read access to the user implementation.
      Returns:
        user provider instance
      Throws:
        `PersistenceException` - If there is a communication errors with the user store during search and read operations.

Copyright © 2020 SAP. All Rights Reserved.