Class UmaPermission

  • All Implemented Interfaces:
    java.io.Serializable

    public class UmaPermission
    extends java.lang.Object
    implements java.io.Serializable
    UMA permission
    Version:
    2.0, date: 17/05/2017
    Author:
    Yuriy Zabrovarnyy
    See Also:
    Serialized Form
    • Constructor Detail

      • UmaPermission

        public UmaPermission()
      • UmaPermission

        public UmaPermission​(java.lang.String resourceId,
                             java.util.List<java.lang.String> scopes,
                             java.lang.String ticket,
                             java.lang.String configurationCode,
                             Pair<java.util.Date,​java.lang.Integer> expirationDate)
    • Method Detail

      • getTtl

        public java.lang.Integer getTtl()
      • setTtl

        public void setTtl​(java.lang.Integer ttl)
      • resetTtlFromExpirationDate

        public void resetTtlFromExpirationDate()
      • getDn

        public java.lang.String getDn()
      • setDn

        public void setDn​(java.lang.String dn)
      • isDeletable

        public boolean isDeletable()
      • setDeletable

        public void setDeletable​(boolean deletable)
      • checkExpired

        public void checkExpired()
      • checkExpired

        public void checkExpired​(java.util.Date now)
      • isValid

        public boolean isValid()
      • getStatus

        public java.lang.String getStatus()
      • setStatus

        public void setStatus​(java.lang.String status)
      • getConfigurationCode

        public java.lang.String getConfigurationCode()
      • setConfigurationCode

        public void setConfigurationCode​(java.lang.String configurationCode)
      • getTicket

        public java.lang.String getTicket()
      • setTicket

        public void setTicket​(java.lang.String ticket)
      • getExpirationDate

        public java.util.Date getExpirationDate()
      • setExpirationDate

        public void setExpirationDate​(java.util.Date expirationDate)
      • getResourceId

        public java.lang.String getResourceId()
      • setResourceId

        public void setResourceId​(java.lang.String resourceId)
      • getScopeDns

        public java.util.List<java.lang.String> getScopeDns()
      • setScopeDns

        public void setScopeDns​(java.util.List<java.lang.String> scopeDns)
      • getAttributes

        public java.util.Map<java.lang.String,​java.lang.String> getAttributes()
      • setAttributes

        public void setAttributes​(java.util.Map<java.lang.String,​java.lang.String> attributes)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object