com.ibm.itim.apps.provisioning

Class NewUserAccess

  • java.lang.Object
    • com.ibm.itim.apps.provisioning.NewUserAccess
  • All Implemented Interfaces:
    java.io.Serializable


    public class NewUserAccess
    extends java.lang.Object
    implements java.io.Serializable
    This is a value object that contains information about a new user access
    Since:
    6.0
    See Also:
    Serialized Form
    • Constructor Detail

      • NewUserAccess

        public NewUserAccess(byte[] password)
        Constructs a new user access with a new account using given password
        Parameters:
        password -
      • NewUserAccess

        public NewUserAccess(java.lang.String uid,
                             byte[] password)
        Constructs a new user access with a new account using given password
        Parameters:
        password -
      • NewUserAccess

        public NewUserAccess(java.lang.String uid,
                             byte[] password,
                             DistinguishedName ownerDN)
        Constructs a new user access with a new account using given password for the existing person specified by the ownerDN.
        Parameters:
        uid -
        password -
        ownerDN -
      • NewUserAccess

        public NewUserAccess(DistinguishedName accountDN)
        Constructs a new user access with a given existing account
        Parameters:
        password -
      • NewUserAccess

        public NewUserAccess(DistinguishedName ownerDN,
                             DistinguishedName accountDN)
        Constructs a new user access with a given owner and an existing account.
        Parameters:
        ownerDN -
        accountDN -
    • Method Detail

      • isCreateNewAccount

        public boolean isCreateNewAccount()
        Indicates whether to create a new account for the access
        Returns:
        boolean to indicates whether creating new account. Create new account if it is true and use existing account otherwise
      • getAccountDN

        public DistinguishedName getAccountDN()
        Returns the distinguished name of existing account to provision the access if there is any
        Returns:
        DistinguishedName of the existing account. It returns NULL if no existing account exist or it will not use existing account
      • getUserID

        public java.lang.String getUserID()
      • getPassword

        public byte[] getPassword()