Package io.jans.as.model.uma
Class UmaResource
- java.lang.Object
-
- io.jans.as.model.uma.UmaResource
-
- Direct Known Subclasses:
UmaResourceWithId
public class UmaResource extends java.lang.Object
Resource that needs protection by registering a resource description at the AS.- Author:
- Yuriy Zabrovarnyy Date: 17/05/2017
-
-
Constructor Summary
Constructors Constructor Description UmaResource()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
assertValidExpression(java.lang.String scopeExpression)
java.lang.String
getDescription()
java.lang.Integer
getExp()
java.lang.Integer
getIat()
java.lang.String
getIconUri()
java.lang.String
getName()
java.lang.String
getScopeExpression()
java.util.List<java.lang.String>
getScopes()
java.lang.String
getType()
static boolean
isValidExpression(java.lang.String scopeExpression)
void
setDescription(java.lang.String description)
void
setExp(java.lang.Integer exp)
void
setIat(java.lang.Integer iat)
UmaResource
setIconUri(java.lang.String iconUri)
UmaResource
setName(java.lang.String name)
void
setScopeExpression(java.lang.String scopeExpression)
UmaResource
setScopes(java.util.List<java.lang.String> scopes)
UmaResource
setType(java.lang.String type)
java.lang.String
toString()
-
-
-
Method Detail
-
getIat
public java.lang.Integer getIat()
-
setIat
public void setIat(java.lang.Integer iat)
-
getExp
public java.lang.Integer getExp()
-
setExp
public void setExp(java.lang.Integer exp)
-
getDescription
public java.lang.String getDescription()
-
setDescription
public void setDescription(java.lang.String description)
-
getType
public java.lang.String getType()
-
setType
public UmaResource setType(java.lang.String type)
-
getName
public java.lang.String getName()
-
setName
public UmaResource setName(java.lang.String name)
-
getIconUri
public java.lang.String getIconUri()
-
setIconUri
public UmaResource setIconUri(java.lang.String iconUri)
-
getScopes
public java.util.List<java.lang.String> getScopes()
-
setScopes
public UmaResource setScopes(java.util.List<java.lang.String> scopes)
-
getScopeExpression
public java.lang.String getScopeExpression()
-
setScopeExpression
public void setScopeExpression(java.lang.String scopeExpression)
-
assertValidExpression
public static void assertValidExpression(java.lang.String scopeExpression)
-
isValidExpression
public static boolean isValidExpression(java.lang.String scopeExpression)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-