SCJP Certification

Sun Certified Java Programmer Certification exam essentials

April 13th, 2010

What is the getCallerIdentity() method?

SCBCD, by Daisy Williams.

The getCallerIdentity() method is used to obtain the java.security.Identity of the caller. The container is allowed to return null from this method. The enterprise bean should use the getCallerPrincipal method instead. The following is the general form of the method:

public java.security.Identity getCallerIdentity()

This method returns the Identity object that identifies the caller.

Share

Back Top

Responses to “What is the getCallerIdentity() method?”

Comments (0) Trackbacks (0) Leave a comment Trackback url
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Your email address will not be published. Required fields are marked *

*