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 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(String scopeExpression)
String
getDescription()
Integer
getExp()
Integer
getIat()
String
getIconUri()
String
getName()
String
getScopeExpression()
List<String>
getScopes()
String
getType()
static boolean
isValidExpression(String scopeExpression)
void
setDescription(String description)
void
setExp(Integer exp)
void
setIat(Integer iat)
UmaResource
setIconUri(String iconUri)
UmaResource
setName(String name)
void
setScopeExpression(String scopeExpression)
UmaResource
setScopes(List<String> scopes)
UmaResource
setType(String type)
String
toString()
-
-
-
Method Detail
-
getIat
public Integer getIat()
-
setIat
public void setIat(Integer iat)
-
getExp
public Integer getExp()
-
setExp
public void setExp(Integer exp)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getType
public String getType()
-
setType
public UmaResource setType(String type)
-
getName
public String getName()
-
setName
public UmaResource setName(String name)
-
getIconUri
public String getIconUri()
-
setIconUri
public UmaResource setIconUri(String iconUri)
-
setScopes
public UmaResource setScopes(List<String> scopes)
-
getScopeExpression
public String getScopeExpression()
-
setScopeExpression
public void setScopeExpression(String scopeExpression)
-
assertValidExpression
public static void assertValidExpression(String scopeExpression)
-
isValidExpression
public static boolean isValidExpression(String scopeExpression)
-
-