Package io.jans.as.model.uma.persistence
Class UmaPermission
- java.lang.Object
-
- io.jans.as.model.uma.persistence.UmaPermission
-
- All Implemented Interfaces:
Serializable
public class UmaPermission extends Object implements Serializable
UMA permission- Version:
- 2.0, date: 17/05/2017
- Author:
- Yuriy Zabrovarnyy
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UmaPermission()
UmaPermission(String resourceId, List<String> scopes, String ticket, String configurationCode, Pair<Date,Integer> expirationDate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkExpired()
void
checkExpired(Date now)
boolean
equals(Object o)
Map<String,String>
getAttributes()
String
getConfigurationCode()
String
getDn()
Date
getExpirationDate()
String
getResourceId()
List<String>
getScopeDns()
String
getStatus()
String
getTicket()
Integer
getTtl()
int
hashCode()
boolean
isDeletable()
boolean
isValid()
void
resetTtlFromExpirationDate()
void
setAttributes(Map<String,String> attributes)
void
setConfigurationCode(String configurationCode)
void
setDeletable(boolean deletable)
void
setDn(String dn)
void
setExpirationDate(Date expirationDate)
void
setResourceId(String resourceId)
void
setScopeDns(List<String> scopeDns)
void
setStatus(String status)
void
setTicket(String ticket)
void
setTtl(Integer ttl)
String
toString()
-
-
-
Field Detail
-
PCT
public static final String PCT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTtl
public Integer getTtl()
-
setTtl
public void setTtl(Integer ttl)
-
resetTtlFromExpirationDate
public void resetTtlFromExpirationDate()
-
getDn
public String getDn()
-
setDn
public void setDn(String dn)
-
isDeletable
public boolean isDeletable()
-
setDeletable
public void setDeletable(boolean deletable)
-
checkExpired
public void checkExpired()
-
checkExpired
public void checkExpired(Date now)
-
isValid
public boolean isValid()
-
getStatus
public String getStatus()
-
setStatus
public void setStatus(String status)
-
getConfigurationCode
public String getConfigurationCode()
-
setConfigurationCode
public void setConfigurationCode(String configurationCode)
-
getTicket
public String getTicket()
-
setTicket
public void setTicket(String ticket)
-
getExpirationDate
public Date getExpirationDate()
-
setExpirationDate
public void setExpirationDate(Date expirationDate)
-
getResourceId
public String getResourceId()
-
setResourceId
public void setResourceId(String resourceId)
-
-