org.jboss.resteasy.keystone.core

## Class UserPrincipal

- java.lang.Object
- - org.jboss.resteasy.keystone.core.UserPrincipal

- All Implemented Interfaces:
    Principal

      public class UserPrincipal
      extends Object
      implements Principal

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected Access.User` | `user`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `UserPrincipal(Access.User user)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getName()`
    `Access.User` | `getUser()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface java.security.Principal

      `equals, hashCode, toString`

- - ### Field Detail

    - #### user

          protected Access.User user

  - ### Constructor Detail

    - #### UserPrincipal

          public UserPrincipal(Access.User user)

  - ### Method Detail

    - #### getName

          public String getName()

      Specified by:
        `getName` in interface `Principal`

    - #### getUser

          public Access.User getUser()

Copyright © 2014. All Rights Reserved.