com.bea.httppubsub
Interface AuthenticatedUser


public interface AuthenticatedUser

Representation interface for an authenticated user.


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

Method Detail

getUserName

public java.lang.String getUserName()
Get user name.

Returns:
User name.

getUserPrincipal

public java.security.Principal getUserPrincipal()
Get user principal object.

Returns:
Principal object.

isUserInRole

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

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


Copyright © 2007 BEA Systems All Rights Reserved.