Class XmlAuthorizationAlgorithmDS
java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.process.ds.xml.r12.parsing.XmlAuthorizationAlgorithmDS
- All Implemented Interfaces:
IReportingDS
,IAuthorizationAlgorithmDS
Xml implementation of the authorization algorithm datasource.
- Since:
- 9.1
- Author:
- A.Pragt
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
This method returns the name of the algorithm.This method returns an expression containing the restricted user identifiers or the null value.String[]
getRoles()
This method should return the authorization roles in case of a non-external algorithm.boolean
This method returns an indicator whether the algorithm should use an external implementation.Methods inherited from class com.aquima.interactions.foundation.report.ReportingDS
addError, addMessage, getCategory, getReport
-
Constructor Details
-
XmlAuthorizationAlgorithmDS
-
-
Method Details
-
getName
Description copied from interface:IAuthorizationAlgorithmDS
This method returns the name of the algorithm.- Specified by:
getName
in interfaceIAuthorizationAlgorithmDS
- Returns:
- The name of the algorithm, never null.
-
isExternal
public boolean isExternal()Description copied from interface:IAuthorizationAlgorithmDS
This method returns an indicator whether the algorithm should use an external implementation.- Specified by:
isExternal
in interfaceIAuthorizationAlgorithmDS
- Returns:
- Boolean whether the algorithm should use an external implementation.
-
getRestrictedUserIds
Description copied from interface:IAuthorizationAlgorithmDS
This method returns an expression containing the restricted user identifiers or the null value.- Specified by:
getRestrictedUserIds
in interfaceIAuthorizationAlgorithmDS
- Returns:
- The expression to be evaluated or null.
-
getRoles
Description copied from interface:IAuthorizationAlgorithmDS
This method should return the authorization roles in case of a non-external algorithm. Otherwise this method should return null.- Specified by:
getRoles
in interfaceIAuthorizationAlgorithmDS
- Returns:
- The authorization roles or null.
-