Package org.openiam.srvc.am
Class AuthenticationRuleWebServiceImpl
- java.lang.Object
-
- org.openiam.srvc.AbstractApiService
-
- org.openiam.srvc.am.AuthenticationRuleWebServiceImpl
-
- All Implemented Interfaces:
AuthenticationRuleWebService
@Service("authenticationRuleWS") public class AuthenticationRuleWebServiceImpl extends AbstractApiService implements AuthenticationRuleWebService
-
-
Field Summary
-
Fields inherited from class org.openiam.srvc.AbstractApiService
applicationContext, log, rabbitMQSender
-
-
Constructor Summary
Constructors Constructor Description AuthenticationRuleWebServiceImpl(AuthenticationRuleQueue queue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponsedeleteAuthRule(String ruleId)delete AuthenticationRule object by rule idResponsedeleteAuthRuleStep(String stepId)delete AuthenticationRuleStep object by step idResponsedeleteStepsLink(String stepsLinkId)delete AuthenticationRuleStepsLink object by step idAuthenticationRuleListResponsefindAuthRules(AuthenticationRuleSearchBean searchBean, int from, int size)Searches and returns list of AuthenticationRule objects, which are suitable for passed search criteriaResponsegetAllAuthRuleAuthentications(String ruleId)get Authentications for AuthenticationRule object by rule idAuthenticationRulegetAuthRule(String ruleId)get AuthenticationRule object by rule idResponsegetAuthRuleAuthenticationMap(String ruleId, AdaptiveAuthenticationExtraDataRequest params)get Authentications for AuthenticationRule object mapped by rule IdResponsegetAuthRuleAuthentications(String ruleId, AdaptiveAuthenticationExtraDataRequest params)get Authentications for AuthenticationRule object by rule idList<AdaptiveRisk>getAuthRuleRisks(String ruleId)get Risks for AuthenticationRule object by rule idAuthenticationRuleStepgetAuthRuleStep(String stepId)get AuthenticationRuleStep object by step idList<AuthenticationRuleStep>getAuthRuleSteps(String ruleId)get AuthenticationRuleSteps object by rule idDbIpGeoStatusgetDbIpStatus()get startDate and status of DB IP upload process : SUCCESS UPLOADING FAILDbIPGeogetGeoByIp(String ip)return geo location informationintgetNumOfAuthRules(AuthenticationRuleSearchBean searchBean)Returns number of AuthenticationRule objects which are suitable for passed search criteriaList<AuthenticationRuleStepToStepXref>getStepLinksByRuleId(String ruleId)get AuthenticationRuleStepToStepLinks by rule idResponsesaveAuthRule(AuthenticationRule rule)save AuthenticationRule objectResponsesaveAuthRuleStep(AuthenticationRuleStep ruleStep)save AuthenticationRuleStep objectResponsesaveAuthRuleStepsFlowchart(AuthenticationRuleStepsFlowchart authenticationRuleStepsFlowchart)save AuthenticationRuleStepsFlowchartResponsesaveStepsLink(AuthenticationRuleStepToStepXref authenticationRuleStepToStepXref)save AuthenticationRuleStepsLink objectResponseuploadGeoIpInfo(String fileName)upload GeoIP information from csv to db-
Methods inherited from class org.openiam.srvc.AbstractApiService
broadcast, crudRequest, getBooleanValue, getIntValue, getIntValue, getRabbitMqQueue, getResponse, getResponse, getValue, getValue, getValueList, getValueList, idRequest, manageApiRequest, manageApiRequest, manageCrudApiRequest, manageCrudApiRequest, manageCrudApiRequest, manageCrudApiRequest, membershipRequestProcessing, membershipRequestProcessing, publish, publish, sendAsync, sendAsync
-
-
-
-
Constructor Detail
-
AuthenticationRuleWebServiceImpl
@Autowired public AuthenticationRuleWebServiceImpl(AuthenticationRuleQueue queue)
-
-
Method Detail
-
findAuthRules
public AuthenticationRuleListResponse findAuthRules(AuthenticationRuleSearchBean searchBean, int from, int size)
Description copied from interface:AuthenticationRuleWebServiceSearches and returns list of AuthenticationRule objects, which are suitable for passed search criteria- Specified by:
findAuthRulesin interfaceAuthenticationRuleWebService- Parameters:
searchBean- - determines search criteriafrom- - page index to startsize- - page size- Returns:
- AuthenticationRuleListResponse
-
getNumOfAuthRules
public int getNumOfAuthRules(AuthenticationRuleSearchBean searchBean)
Description copied from interface:AuthenticationRuleWebServiceReturns number of AuthenticationRule objects which are suitable for passed search criteria- Specified by:
getNumOfAuthRulesin interfaceAuthenticationRuleWebService- Returns:
- int
-
getAuthRule
public AuthenticationRule getAuthRule(String ruleId)
Description copied from interface:AuthenticationRuleWebServiceget AuthenticationRule object by rule id- Specified by:
getAuthRulein interfaceAuthenticationRuleWebService- Returns:
-
saveAuthRule
public Response saveAuthRule(AuthenticationRule rule)
Description copied from interface:AuthenticationRuleWebServicesave AuthenticationRule object- Specified by:
saveAuthRulein interfaceAuthenticationRuleWebService- Returns:
-
deleteAuthRule
public Response deleteAuthRule(String ruleId)
Description copied from interface:AuthenticationRuleWebServicedelete AuthenticationRule object by rule id- Specified by:
deleteAuthRulein interfaceAuthenticationRuleWebService- Returns:
-
getAuthRuleRisks
public List<AdaptiveRisk> getAuthRuleRisks(String ruleId)
Description copied from interface:AuthenticationRuleWebServiceget Risks for AuthenticationRule object by rule id- Specified by:
getAuthRuleRisksin interfaceAuthenticationRuleWebService- Returns:
-
getAuthRuleAuthentications
public Response getAuthRuleAuthentications(String ruleId, AdaptiveAuthenticationExtraDataRequest params)
Description copied from interface:AuthenticationRuleWebServiceget Authentications for AuthenticationRule object by rule id- Specified by:
getAuthRuleAuthenticationsin interfaceAuthenticationRuleWebService- Returns:
-
getAuthRuleAuthenticationMap
public Response getAuthRuleAuthenticationMap(String ruleId, AdaptiveAuthenticationExtraDataRequest params)
Description copied from interface:AuthenticationRuleWebServiceget Authentications for AuthenticationRule object mapped by rule Id- Specified by:
getAuthRuleAuthenticationMapin interfaceAuthenticationRuleWebService- Returns:
-
getAllAuthRuleAuthentications
public Response getAllAuthRuleAuthentications(String ruleId)
Description copied from interface:AuthenticationRuleWebServiceget Authentications for AuthenticationRule object by rule id- Specified by:
getAllAuthRuleAuthenticationsin interfaceAuthenticationRuleWebService- Returns:
-
getAuthRuleStep
public AuthenticationRuleStep getAuthRuleStep(String stepId)
Description copied from interface:AuthenticationRuleWebServiceget AuthenticationRuleStep object by step id- Specified by:
getAuthRuleStepin interfaceAuthenticationRuleWebService- Returns:
-
getAuthRuleSteps
public List<AuthenticationRuleStep> getAuthRuleSteps(String ruleId)
Description copied from interface:AuthenticationRuleWebServiceget AuthenticationRuleSteps object by rule id- Specified by:
getAuthRuleStepsin interfaceAuthenticationRuleWebService- Returns:
-
saveAuthRuleStep
public Response saveAuthRuleStep(AuthenticationRuleStep ruleStep)
Description copied from interface:AuthenticationRuleWebServicesave AuthenticationRuleStep object- Specified by:
saveAuthRuleStepin interfaceAuthenticationRuleWebService- Returns:
-
deleteAuthRuleStep
public Response deleteAuthRuleStep(String stepId)
Description copied from interface:AuthenticationRuleWebServicedelete AuthenticationRuleStep object by step id- Specified by:
deleteAuthRuleStepin interfaceAuthenticationRuleWebService- Returns:
-
getStepLinksByRuleId
public List<AuthenticationRuleStepToStepXref> getStepLinksByRuleId(String ruleId)
Description copied from interface:AuthenticationRuleWebServiceget AuthenticationRuleStepToStepLinks by rule id- Specified by:
getStepLinksByRuleIdin interfaceAuthenticationRuleWebService- Returns:
-
saveStepsLink
public Response saveStepsLink(AuthenticationRuleStepToStepXref authenticationRuleStepToStepXref)
Description copied from interface:AuthenticationRuleWebServicesave AuthenticationRuleStepsLink object- Specified by:
saveStepsLinkin interfaceAuthenticationRuleWebService- Returns:
-
deleteStepsLink
public Response deleteStepsLink(String stepsLinkId)
Description copied from interface:AuthenticationRuleWebServicedelete AuthenticationRuleStepsLink object by step id- Specified by:
deleteStepsLinkin interfaceAuthenticationRuleWebService- Returns:
-
saveAuthRuleStepsFlowchart
public Response saveAuthRuleStepsFlowchart(AuthenticationRuleStepsFlowchart authenticationRuleStepsFlowchart)
Description copied from interface:AuthenticationRuleWebServicesave AuthenticationRuleStepsFlowchart- Specified by:
saveAuthRuleStepsFlowchartin interfaceAuthenticationRuleWebService- Returns:
-
getGeoByIp
public DbIPGeo getGeoByIp(String ip)
Description copied from interface:AuthenticationRuleWebServicereturn geo location information- Specified by:
getGeoByIpin interfaceAuthenticationRuleWebService- Returns:
- GeoLocation information
-
uploadGeoIpInfo
public Response uploadGeoIpInfo(String fileName)
Description copied from interface:AuthenticationRuleWebServiceupload GeoIP information from csv to db- Specified by:
uploadGeoIpInfoin interfaceAuthenticationRuleWebService- Returns:
-
getDbIpStatus
public DbIpGeoStatus getDbIpStatus()
Description copied from interface:AuthenticationRuleWebServiceget startDate and status of DB IP upload process : SUCCESS UPLOADING FAIL- Specified by:
getDbIpStatusin interfaceAuthenticationRuleWebService- Returns:
-
-