Oracle

com.bea.httppubsub
Interface AuthenticatedUser


public interface AuthenticatedUser

Representation interface for an authenticated user.

Since:
10.3.0.0

Method Summary
 String getUserName()
          Get user name.
 Principal getUserPrincipal()
          Get user principal object.
 boolean isUserInRole(String role)
          Check if user in specified role.
 

Method Detail

getUserName

String getUserName()
Get user name.

Returns:
User name.

getUserPrincipal

Principal getUserPrincipal()
Get user principal object.

Returns:
Principal object.

isUserInRole

boolean isUserInRole(String role)
Check if user in specified role.

Parameters:
role - Role.
Returns:
True or false.

Documentation is available at
http://edocs.bea.com/wls/docs103
Copyright 2008 Oracle