Class GrouperPassword

java.lang.Object
edu.internet2.middleware.grouper.GrouperAPI
edu.internet2.middleware.grouper.authentication.GrouperPassword
All Implemented Interfaces:
com.auth0.jwt.interfaces.RSAKeyProvider, HibGrouperLifecycle, Hib3GrouperVersioned, GrouperCloneable, GrouperUtil.FieldValuable, Serializable, org.hibernate.classic.Lifecycle

public class GrouperPassword extends GrouperAPI implements Hib3GrouperVersioned, com.auth0.jwt.interfaces.RSAKeyProvider
grouper password object to store credentials
See Also:
  • Field Details

  • Constructor Details

    • GrouperPassword

      public GrouperPassword()
  • Method Details

    • getExpiresMillis

      public Long getExpiresMillis()
    • setExpiresMillis

      public void setExpiresMillis(Long expiresMillis)
    • getCreatedMillis

      public Long getCreatedMillis()
    • setCreatedMillis

      public void setCreatedMillis(Long createdMillis)
    • getMemberIdWhoSetPassword

      public String getMemberIdWhoSetPassword()
    • setMemberIdWhoSetPassword

      public void setMemberIdWhoSetPassword(String memberIdWhoSetPassword)
    • getId

      public String getId()
      Returns:
      the id
    • setId

      public void setId(String id)
      Parameters:
      id - the id to set
    • getUsername

      public String getUsername()
      Returns:
      the username
    • setUsername

      public void setUsername(String username)
      Parameters:
      userName - the userName to set
    • getMemberId

      public String getMemberId()
      Returns:
      the memberId
    • setMemberId

      public void setMemberId(String memberId)
      Parameters:
      memberId - the memberId to set
    • getEntityType

      public String getEntityType()
      Returns:
      the entityType
    • setEntityType

      public void setEntityType(String entityType)
      Parameters:
      entityType - the entityType to set
    • getIsHashedDb

      public String getIsHashedDb()
      Returns:
      the isHashedDb
    • isHashed

      public boolean isHashed()
      Returns:
      the isHashed
    • setHashed

      public void setHashed(boolean isHashed)
      Parameters:
      isHashed - the isHashed to set
    • getEncryptionTypeDb

      public String getEncryptionTypeDb()
      Returns:
      the encryptionTypeDb
    • getEncryptionType

      public GrouperPassword.EncryptionType getEncryptionType()
      Returns:
      the encryptionType
    • setEncryptionType

      public void setEncryptionType(GrouperPassword.EncryptionType encryptionType)
      Parameters:
      encryptionType - the encryptionType to set
    • getTheSalt

      public String getTheSalt()
      Returns:
      the theSalt
    • setTheSalt

      public void setTheSalt(String theSalt)
      Parameters:
      theSalt - the theSalt to set
    • getThePassword

      public String getThePassword()
      Returns:
      the thePassword
    • setThePassword

      public void setThePassword(String thePassword)
      Parameters:
      thePassword - the thePassword to set
    • getLastEdited

      public Long getLastEdited()
      Returns:
      the lastEdited
    • setLastEdited

      public void setLastEdited(Long lastEdited)
      Parameters:
      lastEdited - the lastEdited to set
    • getApplicationDb

      public String getApplicationDb()
      Returns:
      the applicationDb
    • getApplication

      public GrouperPassword.Application getApplication()
      Returns:
      the application
    • setApplication

      public void setApplication(GrouperPassword.Application application)
      Parameters:
      application - the application to set
    • getAllowedFromCidrs

      public String getAllowedFromCidrs()
      Returns:
      the allowedFromCidrs
    • setAllowedFromCidrs

      public void setAllowedFromCidrs(String allowedFromCidrs)
      Parameters:
      allowedFromCidrs - the allowedFromCidrs to set
    • getLastAuthenticated

      public Long getLastAuthenticated()
      Returns:
      the lastAuthenticated
    • setLastAuthenticated

      public void setLastAuthenticated(Long lastAuthenticated)
      Parameters:
      lastAuthenticated - the lastAuthenticated to set
    • setIsHashedDb

      public void setIsHashedDb(String isHashedDb)
      Parameters:
      isHashedDb - the isHashedDb to set
    • setEncryptionTypeDb

      public void setEncryptionTypeDb(String encryptionTypeDb)
      Parameters:
      encryptionTypeDb - the encryptionTypeDb to set
    • setApplicationDb

      public void setApplicationDb(String applicationDb)
      Parameters:
      applicationDb - the applicationDb to set
    • verify

      public boolean verify(com.auth0.jwt.interfaces.DecodedJWT decodedJwt)
    • getPublicKeyById

      public RSAPublicKey getPublicKeyById(String keyId)
    • getPrivateKey

      public RSAPrivateKey getPrivateKey()
    • getPrivateKeyId

      public String getPrivateKeyId()
    • clone

      public GrouperAPI clone()
      Description copied from class: GrouperAPI
      deep clone the fields in this object
      Specified by:
      clone in interface GrouperCloneable
      Specified by:
      clone in class GrouperAPI
      Returns:
      the clone of the object
      See Also: