## Uses of Interface
org.eclipse.jetty.server.UserIdentity

- Packages that use UserIdentity
  Package | Description
  --- | ---
  org.eclipse.jetty.plus.jaas |
  org.eclipse.jetty.plus.security |
  org.eclipse.jetty.security |
  org.eclipse.jetty.security.authentication |
  org.eclipse.jetty.server |

- - ### Uses of UserIdentity in org.eclipse.jetty.plus.jaas

    Methods in org.eclipse.jetty.plus.jaas that return UserIdentity
    Modifier and Type | Method and Description
    --- | ---
    `UserIdentity` | JAASLoginService.`login(java.lang.String username, java.lang.Object credentials)`

    Methods in org.eclipse.jetty.plus.jaas with parameters of type UserIdentity
    Modifier and Type | Method and Description
    --- | ---
    `void` | JAASLoginService.`logout(UserIdentity user)`
    `boolean` | JAASLoginService.`validate(UserIdentity user)`

  - ### Uses of UserIdentity in org.eclipse.jetty.plus.security

    Methods in org.eclipse.jetty.plus.security that return UserIdentity
    Modifier and Type | Method and Description
    --- | ---
    `protected UserIdentity` | DataSourceLoginService.`loadUser(java.lang.String userName)` Load user's info from database.

  - ### Uses of UserIdentity in org.eclipse.jetty.security

    Classes in org.eclipse.jetty.security that implement UserIdentity
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultUserIdentity` The default implementation of UserIdentity.
    `class` | `SpnegoUserIdentity`

    Fields in org.eclipse.jetty.security with type parameters of type UserIdentity
    Modifier and Type | Field and Description
    --- | ---
    `protected java.util.concurrent.ConcurrentMap<java.lang.String,UserIdentity>` | MappedLoginService.`_users`

    Methods in org.eclipse.jetty.security that return UserIdentity
    Modifier and Type | Method and Description
    --- | ---
    `UserIdentity` | IdentityService.`getSystemUserIdentity()`
    `UserIdentity` | DefaultIdentityService.`getSystemUserIdentity()`
    `UserIdentity` | UserAuthentication.`getUserIdentity()`
    `UserIdentity` | PropertyUserStore.`getUserIdentity(java.lang.String userName)`
    `protected UserIdentity` | HashLoginService.`loadUser(java.lang.String username)`
    `protected abstract UserIdentity` | MappedLoginService.`loadUser(java.lang.String username)`
    `protected UserIdentity` | JDBCLoginService.`loadUser(java.lang.String username)`
    `UserIdentity` | SpnegoLoginService.`login(java.lang.String username, java.lang.Object credentials)` username will be null since the credentials will contain all the relevant info
    `UserIdentity` | LoginService.`login(java.lang.String username, java.lang.Object credentials)` Login a user.
    `UserIdentity` | MappedLoginService.`login(java.lang.String username, java.lang.Object credentials)`
    `UserIdentity` | JDBCLoginService.`login(java.lang.String username, java.lang.Object credentials)`
    `UserIdentity` | IdentityService.`newUserIdentity(javax.security.auth.Subject subject, java.security.Principal userPrincipal, java.lang.String[] roles)` Create a new UserIdentity for use with this identity service.
    `UserIdentity` | DefaultIdentityService.`newUserIdentity(javax.security.auth.Subject subject, java.security.Principal userPrincipal, java.lang.String[] roles)`
    `UserIdentity` | MappedLoginService.`putUser(java.lang.String userName, Credential credential, java.lang.String[] roles)` Put user into realm.
    `protected UserIdentity` | MappedLoginService.`putUser(java.lang.String userName, java.lang.Object info)` Put user into realm.

    Methods in org.eclipse.jetty.security that return types with arguments of type UserIdentity
    Modifier and Type | Method and Description
    --- | ---
    `java.util.concurrent.ConcurrentMap<java.lang.String,UserIdentity>` | MappedLoginService.`getUsers()` Get the users.

    Methods in org.eclipse.jetty.security with parameters of type UserIdentity
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object` | IdentityService.`associate(UserIdentity user)` Associate a user identity with the current thread.
    `java.lang.Object` | DefaultIdentityService.`associate(UserIdentity user)` If there are roles refs present in the scope, then wrap the UserIdentity with one that uses the role references in the `isUserInRole(String, org.eclipse.jetty.server.UserIdentity.Scope)`
    `protected boolean` | ConstraintSecurityHandler.`checkWebResourcePermissions(java.lang.String pathInContext, Request request, Response response, java.lang.Object constraintInfo, UserIdentity userIdentity)`
    `protected abstract boolean` | SecurityHandler.`checkWebResourcePermissions(java.lang.String pathInContext, Request request, Response response, java.lang.Object constraintInfo, UserIdentity userIdentity)`
    `void` | SpnegoLoginService.`logout(UserIdentity user)`
    `void` | LoginService.`logout(UserIdentity user)`
    `void` | MappedLoginService.`logout(UserIdentity identity)`
    `java.lang.Object` | IdentityService.`setRunAs(UserIdentity user, RunAsToken token)` Associate a runas Token with the current user and thread.
    `java.lang.Object` | DefaultIdentityService.`setRunAs(UserIdentity user, RunAsToken token)`
    `boolean` | SpnegoLoginService.`validate(UserIdentity user)`
    `boolean` | LoginService.`validate(UserIdentity user)` Validate a user identity.
    `boolean` | MappedLoginService.`validate(UserIdentity user)`

    Method parameters in org.eclipse.jetty.security with type arguments of type UserIdentity
    Modifier and Type | Method and Description
    --- | ---
    `void` | MappedLoginService.`setUsers(java.util.Map<java.lang.String,UserIdentity> users)` Set the users.

    Constructors in org.eclipse.jetty.security with parameters of type UserIdentity
    Constructor and Description
    `UserAuthentication(java.lang.String method, UserIdentity userIdentity)`

  - ### Uses of UserIdentity in org.eclipse.jetty.security.authentication

    Methods in org.eclipse.jetty.security.authentication that return UserIdentity
    Modifier and Type | Method and Description
    --- | ---
    `UserIdentity` | SessionAuthentication.`getUserIdentity()`

    Constructors in org.eclipse.jetty.security.authentication with parameters of type UserIdentity
    Constructor and Description
    `FormAuthenticator.FormAuthentication(java.lang.String method, UserIdentity userIdentity)`
    `SessionAuthentication(java.lang.String method, UserIdentity userIdentity, java.lang.Object credentials)`

  - ### Uses of UserIdentity in org.eclipse.jetty.server

    Subinterfaces of UserIdentity in org.eclipse.jetty.server
    Modifier and Type | Interface and Description
    --- | ---
    `static interface` | `UserIdentity.UnauthenticatedUserIdentity`

    Fields in org.eclipse.jetty.server declared as UserIdentity
    Modifier and Type | Field and Description
    --- | ---
    `static UserIdentity` | UserIdentity.`UNAUTHENTICATED_IDENTITY`

    Methods in org.eclipse.jetty.server that return UserIdentity
    Modifier and Type | Method and Description
    --- | ---
    `UserIdentity` | Request.`getResolvedUserIdentity()`
    `UserIdentity` | Request.`getUserIdentity()`
    `UserIdentity` | Authentication.User.`getUserIdentity()`

Copyright © 2013 FuseSource, Corp.. All Rights Reserved.