*** This interface provides Binary Compatibility only, not Source Compatibility ***

Interface LoginInterface

All Superinterfaces:
MetadataInterface, PublicObjectInterface, Remote

@SASScope("ALL") @BinaryCompatibilityOnly public interface LoginInterface extends MetadataInterface
This is a generic interface for interacting with a repository entry that represents a login object.

Since:
1.0
  • Method Details

    • getUserId

      String getUserId() throws ServiceException, RemoteException
      Get the user ID for this login.

      Returns:
      The user id.
      Throws:
      ServiceException - If a serice level error occurs.
      RemoteException - in the event of remote object failure.
    • setUserId

      void setUserId(String uid) throws ServiceException, RemoteException
      Set the user ID for this login.

      Parameters:
      uid - The new user id.
      Throws:
      ServiceException - If a serice level error occurs.
      RemoteException - in the event of remote object failure.
    • getPassword

      String getPassword() throws ServiceException, RemoteException
      Get the password for the login.

      Returns:
      the password.
      Throws:
      ServiceException - If a serice level error occurs.
      RemoteException - in the event of remote object failure.
    • setPassword

      void setPassword(String password) throws ServiceException, RemoteException
      Set the password for this login.

      Parameters:
      password - The new password.
      Throws:
      ServiceException - If a serice level error occurs.
      RemoteException - in the event of remote object failure.
    • getDomain

      String getDomain() throws ServiceException, RemoteException
      Get the security domain for the login.

      Returns:
      The security domain.
      Throws:
      ServiceException - If a serice level error occurs.
      RemoteException - in the event of remote object failure.
    • setDomain

      void setDomain(String domain) throws ServiceException, RemoteException
      Set the authentication domain for the Login.
      Parameters:
      domain - The new authentication domain.
      Throws:
      ServiceException - If a repository error occurs.
      RemoteException - In the event of remote object failure.
    • getIdentity

      IdentityInterface getIdentity() throws ServiceException, RemoteException
      Get the identity associated to this login.
      Returns:
      The Identity associated to this login.
      Throws:
      ServiceException - If a repository error occurs.
      RemoteException - In the event of remote object failure.
    • getUsers

      List getUsers() throws ServiceException, RemoteException
      Get a list of the users that are authorized to use this login.

      Returns:
      A list of Person objects that are allowed to use this login.
      Throws:
      ServiceException - If a serice level error occurs.
      RemoteException - in the event of remote object failure.
    • addUser

      void addUser(PersonInterface user) throws ServiceException, RemoteException
      Add a user to the list of allowed clients.

      Parameters:
      user - The new user to add to the allowed clients.
      Throws:
      ServiceException - If a serice level error occurs.
      RemoteException - in the event of remote object failure.
    • removeUser

      void removeUser(PersonInterface user) throws ServiceException, RemoteException
      Remove a user from the list of allowed clients.

      Parameters:
      user - The user to remove from the allowed client list.
      Throws:
      ServiceException - If a serice level error occurs.
      RemoteException - in the event of remote object failure.
    • getMinAvail

      int getMinAvail() throws RemoteException
      Returns the minimum number of servers that should be started when this login is used to authenticate.

      Returns:
      The minimum available server count.
      Throws:
      RemoteException - in the event of remote object failure.
    • setMinAvail

      void setMinAvail(int min) throws RemoteException
      Set the minimum available pooling parameter.

      Parameters:
      min - The new minimum available setting.
      Throws:
      RemoteException - in the event of remote object failure.
    • getMinSize

      int getMinSize() throws RemoteException
      Returns the minimum size pooling parameter.

      Returns:
      The minsize.
      Throws:
      RemoteException - in the event of remote object failure.
    • setMinSize

      void setMinSize(int size) throws RemoteException
      Set the minimum size pooling parameter.

      Parameters:
      size - The new minimum size parameter.
      Throws:
      RemoteException - in the event of remote object failure.