Class SecurePingClientEJB

    • Constructor Detail

      • SecurePingClientEJB

        public SecurePingClientEJB()
    • Method Detail

      • getInfo

        private String getInfo​(String prefix)
        Return what this EJB's container thinks about the caller.
      • pingAll

        public String pingAll()
        Return info from this bean and the securePingServer after performing a run-as.
        Specified by:
        pingAll in interface SecurePingClient
      • pingUser

        public String pingUser()
        Return info from this bean and the securePingServer after performing a run-as.
        Specified by:
        pingUser in interface SecurePingClient
      • pingAdmin

        public String pingAdmin()
        Return info from this bean and the securePingServer after performing a run-as.
        Specified by:
        pingAdmin in interface SecurePingClient
      • pingExcluded

        public String pingExcluded()
        Return info from this bean and the securePingServer after performing a run-as.
        Specified by:
        pingExcluded in interface SecurePingClient
      • whoAmI

        public String whoAmI()
        Return the identify of this caller within the context of this EJB invocation.
        Specified by:
        whoAmI in interface SecurePingClient
      • isCallerInRole

        public boolean isCallerInRole​(String role)
        Return info from this bean and the securePingServer after performing a run-as. Most of the details are written to the log since the return type here is a simple boolean.
        Specified by:
        isCallerInRole in interface SecurePingClient