com.supermap.services.security

Interface ExtendedUserStorage



  • public interface ExtendedUserStorage
    

    Extended user storage. Implement the interface and configure it into iserver to extend the user store for iserver. The class that implements this interface must add ExtendedUserStorageIdentification annotation.

    Since:
    7.0.1
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      ExtendedUserInfo getUser(java.lang.String username)
      Or expand the user information in the store.
      boolean isValid(java.lang.String username, java.lang.String password)
      Verifies that the username and password are correct.
    • Method Detail

      • isValid

        boolean isValid(java.lang.String username,
                      java.lang.String password)
        

        Verifies that the username and password are correct.

        Parameters:
        username - Needs to verify the username.
        password - Needs to verify the password.
        Returns:
        Returns ture if the entered username and password match, false otherwise.
        Since:
        7.0.1
      • getUser

        ExtendedUserInfo getUser(java.lang.String username)
        

        Or expand the user information in the store.

        Parameters:
        username - Needs the username of information .
        Returns:
        user information.
        Since:
        7.0.1