Class SecurityMonitorThing

    • Field Detail

      • SECURITY_EVENT_DATASHAPE

        public static final java.lang.String SECURITY_EVENT_DATASHAPE
        See Also:
        Constant Field Values
      • APPKEY_SECURITY_EVENT_DATASHAPE

        public static final java.lang.String APPKEY_SECURITY_EVENT_DATASHAPE
        See Also:
        Constant Field Values
      • SUCCESSFUL_LOGIN_EVENT

        public static final java.lang.String SUCCESSFUL_LOGIN_EVENT
        See Also:
        Constant Field Values
      • FAILED_LOGIN_EVENT

        public static final java.lang.String FAILED_LOGIN_EVENT
        See Also:
        Constant Field Values
      • SESSION_EXPIRED_EVENT

        public static final java.lang.String SESSION_EXPIRED_EVENT
        See Also:
        Constant Field Values
      • APPKEY_SUCCEEDED_EVENT

        public static final java.lang.String APPKEY_SUCCEEDED_EVENT
        See Also:
        Constant Field Values
      • APPKEY_FAILED_EVENT

        public static final java.lang.String APPKEY_FAILED_EVENT
        See Also:
        Constant Field Values
    • Constructor Detail

      • SecurityMonitorThing

        public SecurityMonitorThing()
    • Method Detail

      • fireSuccessfulLoginEvent

        @ThingworxExtensionApiMethod(since={6,6})
        public void fireSuccessfulLoginEvent​(java.lang.String user,
                                             java.lang.String message)
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception - If an error occurs
      • fireFailedLoginEvent

        @ThingworxExtensionApiMethod(since={6,6})
        public void fireFailedLoginEvent​(java.lang.String user,
                                         java.lang.String message)
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception - If an error occurs
      • fireSuccessfulApplicationKeyEvent

        @ThingworxExtensionApiMethod(since={6,6})
        public void fireSuccessfulApplicationKeyEvent​(java.lang.String user,
                                                      java.lang.String message)
                                               throws java.lang.Exception
        Throws:
        java.lang.Exception - If an error occurs
      • fireFailedApplicationKeyEvent

        @ThingworxExtensionApiMethod(since={6,6})
        public void fireFailedApplicationKeyEvent​(java.lang.String user,
                                                  java.lang.String message)
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception - If an error occurs
      • fireLogoutEvent

        @ThingworxExtensionApiMethod(since={6,6})
        public void fireLogoutEvent​(java.lang.String user,
                                    java.lang.String message)
                             throws java.lang.Exception
        Throws:
        java.lang.Exception - If an error occurs
      • fireSessionExpiredEvent

        @ThingworxExtensionApiMethod(since={9,4,0})
        public void fireSessionExpiredEvent​(java.lang.String user,
                                            java.lang.String message)
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception - If an error occurs