JwsContext.getCallerPrincipal() Method

Returns the security principal associated with the current method invocation if authentication was performed.

# Syntax

    public java.security.Principal getCallerPrincipal()

# Parameters

None.

# Return Value

The Principal that was produced by authentication.

# Exceptions

None

# Remarks

To learn about security in WebLogic Workshop web services, see Overview: Security.

Related Topics

JwsContext Interface

JwsContext.isCallerInRole(String) Method