docs: @Override
      @Deprecated
      public java.security.Identity getCallerIdentity()
      {
          EJSDeployedSupport s = EJSContainer.getMethodContext();
  
          // Method not allowed from ejbTimeout.                           LI2281.07
          if (s != null && s.methodInfo.ivInterface == MethodInterface.TIMED_OBJECT)
          {
              IllegalStateException ise =
                              new IllegalStateException("getCallerIdentity() not " +
                                                        "allowed from ejbTimeout");
  
              if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                  Tr.debug(tc, "getCallerIdentity: " + ise);
  
              throw ise;
          }
  
          EJBSecurityCollaborator<?> securityCollaborator = container.ivSecurityCollaborator;
          if (securityCollaborator == null)
          {
              return null; // d740575
          }
  
          return getCallerIdentity(securityCollaborator, s);
      }