Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2007 BEA Systems All Rights Reserved.