Package io.jans.configapi.service.auth
Class AgamaFlowService
java.lang.Object
io.jans.configapi.service.auth.AgamaFlowService
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAgamaFlow
(io.jans.agama.model.Flow flow) io.jans.configapi.model.configuration.AgamaConfiguration
getAgamaFlowDn
(String flowName) List<io.jans.agama.model.Flow>
getAllAgamaFlows
(int sizeLimit) List<io.jans.agama.model.Flow>
io.jans.agama.model.Flow
getFlowByDn
(String dn) io.jans.agama.model.Flow
getFlowByName
(String flowName) void
removeAgamaFlow
(String flowName) List<io.jans.agama.model.Flow>
searchAgamaFlows
(String pattern, int sizeLimit) List<io.jans.agama.model.Flow>
searchAgamaFlows
(String pattern, int sizeLimit, boolean enabled) io.jans.orm.model.PagedResult<io.jans.agama.model.Flow>
searchFlows
(io.jans.model.SearchRequest searchRequest) void
updateFlow
(io.jans.agama.model.Flow flow) validateFlowFields
(io.jans.agama.model.Flow flow, boolean checkNonMandatoryFields) validateFlowFields
(io.jans.agama.model.Flow flow, List<String> mandatoryAttributes, List<String> optionalAttributes, boolean checkNonMandatoryFields) validateNonMandatoryFields
(io.jans.agama.model.Flow flow, List<String> mandatoryAttributes, List<String> optionalAttributes)
-
Field Details
-
AGAMA_FLOWS_BASE
- See Also:
-
-
Constructor Details
-
AgamaFlowService
public AgamaFlowService()
-
-
Method Details
-
searchAgamaFlows
-
searchAgamaFlows
-
searchFlows
public io.jans.orm.model.PagedResult<io.jans.agama.model.Flow> searchFlows(io.jans.model.SearchRequest searchRequest) -
getAllAgamaFlows
-
getAllFlows
-
getFlowByName
-
getFlowByDn
-
addAgamaFlow
public void addAgamaFlow(io.jans.agama.model.Flow flow) -
updateFlow
public void updateFlow(io.jans.agama.model.Flow flow) -
removeAgamaFlow
-
getAgamaFlowDn
-
getAgamaConfiguration
public io.jans.configapi.model.configuration.AgamaConfiguration getAgamaConfiguration() -
validateFlowFields
public String validateFlowFields(io.jans.agama.model.Flow flow, boolean checkNonMandatoryFields) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException -
validateFlowFields
public String validateFlowFields(io.jans.agama.model.Flow flow, List<String> mandatoryAttributes, List<String> optionalAttributes, boolean checkNonMandatoryFields) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException -
validateNonMandatoryFields
-