Class DNState


  • public class DNState
    extends Object

    Created by Jeff Gaynor
    on 3/20/20 at 11:54 AM

    • Field Detail

      • DN_STATE_LENGTH

        public static int DN_STATE_LENGTH
      • DN_STATE_NULL

        public static int DN_STATE_NULL
      • DN_STATE_SET

        public int DN_STATE_SET
      • DN_STATE_CHANGED

        public int DN_STATE_CHANGED
      • DN_STATE_EMAIL_INDEX

        public static int DN_STATE_EMAIL_INDEX
      • DN_STATE_IDP_NAME

        public static int DN_STATE_IDP_NAME
      • DN_STATE_DISPLAY_NAME_INDEX

        public static int DN_STATE_DISPLAY_NAME_INDEX
      • DN_STATE_FIRST_NAME_INDEX

        public static int DN_STATE_FIRST_NAME_INDEX
      • DN_STATE_LAST_NAME_INDEX

        public static int DN_STATE_LAST_NAME_INDEX
      • valid_dName

        public int valid_dName
        Valid DNState to compute FN if email, idpName and user display name are set.
      • valid_flName

        public int valid_flName
        Valid DNState to compute FN if email, idpName first name and last name are set.
      • valid_All

        public int valid_All
    • Constructor Detail

      • DNState

        public DNState()
      • DNState

        public DNState​(BitSet bitSet)
      • DNState

        public DNState​(int value)
    • Method Detail

      • allZero

        public boolean allZero()
      • isUpdated

        public boolean isUpdated()
      • keepSerialString

        public boolean keepSerialString​(DNState updatedState)
        This determines if the updated state and this state require a new serial string be issued. This DN State is what is stored for the user. The argument is created from checking the updates to the user.
        Parameters:
        updatedState -
        Returns:
      • getStateValue

        public int getStateValue()
      • setStateValue

        public void setStateValue​(int v)
        Set the value of this to the give integer
        Parameters:
        v -
      • setIt

        protected void setIt​(int index,
                             boolean ok)
      • setIDPName

        public void setIDPName​(boolean ok)
      • hasIDPName

        public boolean hasIDPName()
      • setEmail

        public void setEmail​(boolean ok)
      • hasEmail

        public boolean hasEmail()
      • setDisplayName

        public void setDisplayName​(boolean ok)
      • hasDisplayName

        public boolean hasDisplayName()
      • setFirstName

        public void setFirstName​(boolean ok)
      • hasFirstName

        public boolean hasFirstName()
      • setLastName

        public void setLastName​(boolean ok)
      • hasLastName

        public boolean hasLastName()
      • getDNNames

        public String[] getDNNames​(User user)
      • canGetDN

        public boolean canGetDN()
      • getBitSet

        public BitSet getBitSet()