# Class LLUserPrincipal

java.lang.Object
org.eclipse.jetty.security.UserPrincipal
com.io7m.looseleaf.server.internal.auth.LLUserPrincipal

All Implemented Interfaces:
  `Serializable, Principal`

public final class LLUserPrincipal extends org.eclipse.jetty.security.UserPrincipal
A user principal containing information from the looseleaf security context.

See Also:
  - Serialized Form

- ## Field Summary

  ### Fields inherited from class org.eclipse.jetty.security.UserPrincipal

  `_credential`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `LLUserPrincipal(String inName, LLUser inUser, LLPasswordAsCredential inCredential)`
  A user principal containing information from the looseleaf security context.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `LLUser`
  `user()`

  ### Methods inherited from class org.eclipse.jetty.security.UserPrincipal

  `authenticate, authenticate, authenticate, configureSubject, deconfigureSubject, getName, toString`

  ### Methods inherited from class Object

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

  ### Methods inherited from interface Principal

  `equals, hashCode, implies`

- ## Constructor Details

  - ### LLUserPrincipal

    public LLUserPrincipal(String inName, LLUser inUser, LLPasswordAsCredential inCredential)
    A user principal containing information from the looseleaf security context.
    Parameters:
      `inName` - The user name
      `inUser` - The user
      `inCredential` - The password

- ## Method Details

  - ### user

    public LLUser user()
    Returns:
      The looseleaf user