public class AMClientDetector extends Object
Constructor and Description |
---|
AMClientDetector()
Constructs a
AMClientDetector instance. |
AMClientDetector(ClientDetectionInterface cd)
Application provide custom detection class.
|
AMClientDetector(String className)
Applications can provide client detector implementation class
|
Modifier and Type | Method and Description |
---|---|
String |
getClientType(javax.servlet.http.HttpServletRequest request)
Returns the client type by executing client
detector class provided in Client Detection Service.
|
static ClientTypesManager |
getClientTypesManagerInstance()
Returns the
ClientTypesManager Instance. |
boolean |
isDetectionEnabled()
Returns
true if the client detection is enabled. |
static boolean |
isServicePassed()
Returns true if the client detection service is present or false if the
client detection service is not present and the client attributes could
not be retrieved.
|
public AMClientDetector()
AMClientDetector
instance.public AMClientDetector(String className)
className
- the name of the implementation classpublic AMClientDetector(ClientDetectionInterface cd)
cd
- class that implements ClientDetectionInterface
.public String getClientType(javax.servlet.http.HttpServletRequest request)
request
- HTTP Servlet Request.cdm
service. If it throws any
exception by executing this class, this method will just return
null .public boolean isDetectionEnabled()
true
if the client detection is enabled.true
if the client detection is enabled.public static ClientTypesManager getClientTypesManagerInstance()
ClientTypesManager
Instance.ClientTypesManager
Instance.public static boolean isServicePassed()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.