public class PerimeterX extends Object
Created by shikloshi on 03/07/2016.
Constructor and Description |
---|
PerimeterX(PXConfiguration configuration) |
PerimeterX(PXConfiguration configuration,
HostnameProvider hostnameProvider) |
PerimeterX(PXConfiguration configuration,
IPProvider ipProvider) |
PerimeterX(PXConfiguration configuration,
IPProvider ipProvider,
HostnameProvider hostnameProvider) |
Modifier and Type | Method and Description |
---|---|
PXContext |
pxVerify(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponseWrapper responseWrapper)
Verify http request using cookie or PX server call
|
void |
setActivityHandler(ActivityHandler activityHandler)
Set activity handler
|
void |
setCustomParametersProvider(CustomParametersProvider customParametersProvider) |
void |
setHostnameProvider(HostnameProvider hostnameProvider)
Set Hostname Provider
|
void |
setIpProvider(IPProvider ipProvider)
Set IP Provider
|
void |
setVerificationHandler(VerificationHandler verificationHandler)
Set Set Verification Handler
|
public PerimeterX(PXConfiguration configuration) throws PXException
PXException
public PerimeterX(PXConfiguration configuration, IPProvider ipProvider, HostnameProvider hostnameProvider) throws PXException
PXException
public PerimeterX(PXConfiguration configuration, IPProvider ipProvider) throws PXException
PXException
public PerimeterX(PXConfiguration configuration, HostnameProvider hostnameProvider) throws PXException
PXException
public PXContext pxVerify(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponseWrapper responseWrapper) throws PXException
req
- - current http call examined by PXresponseWrapper
- - response wrapper on which we will set the response according to PX verification.PXException
- - PXExceptionpublic void setActivityHandler(ActivityHandler activityHandler)
activityHandler
- - new activity handler to usepublic void setIpProvider(IPProvider ipProvider)
ipProvider
- - IP provider that is used to extract ip from requestpublic void setHostnameProvider(HostnameProvider hostnameProvider)
hostnameProvider
- - Used to extract hostname from requestpublic void setVerificationHandler(VerificationHandler verificationHandler)
verificationHandler
- - sets the verification handler for user customizationpublic void setCustomParametersProvider(CustomParametersProvider customParametersProvider)
Copyright © 2018 PerimeterX. All rights reserved.