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://download.oracle.com/docs/cd/E13222_01/wls/docs103
Copyright 1996,2008, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.