Top Description Fields Constructors Methods
javax.security.enterprise

public Class CallerPrincipal

extends Object
implements Principal
Class Inheritance
All Implemented Interfaces
java.security.Principal
Imports
java.security.Principal, javax.servlet.http.HttpServletRequest

Principal that represents the caller principal associated with the invocation being processed by the container (e.g. the current HTTP request).

Field Summary

Modifier and TypeField and Description
private final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The name of the caller
getName
()

Implements java.security.Principal.getName.

The name of the caller
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

nameback to summary
private final String name

Constructor Detail

CallerPrincipalback to summary
public CallerPrincipal(String name)

Method Detail

getNameback to summary
public String getName()

Implements java.security.Principal.getName.

The name of the caller

Returns:String

The name of the caller

Annotations
@Override