Package io.jans.as.model.uma
Class UmaPermission
- java.lang.Object
-
- io.jans.as.model.uma.UmaPermission
-
- All Implemented Interfaces:
java.io.Serializable
public class UmaPermission extends java.lang.Object implements java.io.Serializable
UMA Permission. Used for both: 1. register permission ticket 2. by introspection RPT endpoint to return RPT status.- Author:
- Yuriy Zabrovarnyy, Yuriy Movchan
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UmaPermission()
UmaPermission(java.lang.String resourceId, java.util.List<java.lang.String> scopes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
getExpiresAt()
java.util.Map<java.lang.String,java.lang.String>
getParams()
java.lang.String
getResourceId()
java.util.List<java.lang.String>
getScopes()
void
setExpiresAt(java.lang.Integer expiresAt)
void
setParams(java.util.Map<java.lang.String,java.lang.String> params)
void
setResourceId(java.lang.String resourceId)
void
setScopes(java.util.List<java.lang.String> scopes)
java.lang.String
toString()
-
-
-
Method Detail
-
getResourceId
public java.lang.String getResourceId()
-
setResourceId
public void setResourceId(java.lang.String resourceId)
-
getScopes
public java.util.List<java.lang.String> getScopes()
-
setScopes
public void setScopes(java.util.List<java.lang.String> scopes)
-
getExpiresAt
public java.lang.Integer getExpiresAt()
-
setExpiresAt
public void setExpiresAt(java.lang.Integer expiresAt)
-
getParams
public java.util.Map<java.lang.String,java.lang.String> getParams()
-
setParams
public void setParams(java.util.Map<java.lang.String,java.lang.String> params)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-