Class NativeDevice
- java.lang.Object
-
- com.inductiveautomation.perspective.gateway.session.NativeDevice
-
public class NativeDevice extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SESSION_CHALLENGE_ATTRIBUTE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NativeDevice
forDesigner()
static NativeDevice
from(javax.servlet.http.HttpServletRequest request)
boolean
isValidMobile()
void
updateChallenge(NativeDevice device)
After Gateway reset, a new challenge is generated for the mobile session.
-
-
-
Field Detail
-
SESSION_CHALLENGE_ATTRIBUTE
public static final java.lang.String SESSION_CHALLENGE_ATTRIBUTE
- See Also:
- Constant Field Values
-
-
Method Detail
-
isValidMobile
public boolean isValidMobile()
-
updateChallenge
public void updateChallenge(NativeDevice device)
After Gateway reset, a new challenge is generated for the mobile session. Allow setting a new challenge if one hasn't already been set.- Parameters:
device
-NativeDevice
from current request
-
forDesigner
public static NativeDevice forDesigner()
-
from
public static NativeDevice from(javax.servlet.http.HttpServletRequest request)
-
-