## 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.security.jaspi |
  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(String username, 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(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 ConcurrentMap<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(String userName)`
    `protected abstract UserIdentity` | MappedLoginService.`loadUser(String username)`
    `protected UserIdentity` | JDBCLoginService.`loadUser(String username)`
    `protected UserIdentity` | HashLoginService.`loadUser(String username)`
    `UserIdentity` | LoginService.`login(String username, Object credentials)` Login a user.
    `UserIdentity` | SpnegoLoginService.`login(String username, Object credentials)` username will be null since the credentials will contain all the relevant info
    `UserIdentity` | MappedLoginService.`login(String username, Object credentials)`
    `UserIdentity` | JDBCLoginService.`login(String username, Object credentials)`
    `UserIdentity` | IdentityService.`newUserIdentity(Subject subject, Principal userPrincipal, String[] roles)` Create a new UserIdentity for use with this identity service.
    `UserIdentity` | DefaultIdentityService.`newUserIdentity(Subject subject, Principal userPrincipal, String[] roles)`
    `UserIdentity` | MappedLoginService.`putUser(String userName, Credential credential, String[] roles)` Put user into realm.
    `protected UserIdentity` | MappedLoginService.`putUser(String userName, 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
    --- | ---
    `ConcurrentMap<String,UserIdentity>` | MappedLoginService.`getUsers()` Get the users.

    Methods in org.eclipse.jetty.security with parameters of type UserIdentity
    Modifier and Type | Method and Description
    --- | ---
    `Object` | IdentityService.`associate(UserIdentity user)` Associate a user identity with the current thread.
    `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 abstract boolean` | SecurityHandler.`checkWebResourcePermissions(String pathInContext, Request request, Response response, Object constraintInfo, UserIdentity userIdentity)`
    `protected boolean` | ConstraintSecurityHandler.`checkWebResourcePermissions(String pathInContext, Request request, Response response, Object constraintInfo, UserIdentity userIdentity)`
    `void` | LoginService.`logout(UserIdentity user)`
    `void` | SpnegoLoginService.`logout(UserIdentity user)`
    `void` | MappedLoginService.`logout(UserIdentity identity)`
    `Object` | IdentityService.`setRunAs(UserIdentity user, RunAsToken token)` Associate a runas Token with the current user and thread.
    `Object` | DefaultIdentityService.`setRunAs(UserIdentity user, RunAsToken token)`
    `boolean` | LoginService.`validate(UserIdentity user)` Validate a user identity.
    `boolean` | SpnegoLoginService.`validate(UserIdentity user)`
    `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(Map<String,UserIdentity> users)` Set the users.

    Constructors in org.eclipse.jetty.security with parameters of type UserIdentity
    Constructor and Description
    `UserAuthentication(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()`
    `UserIdentity` | LoginAuthenticator.`login(String username, Object password, javax.servlet.ServletRequest request)`
    `UserIdentity` | FormAuthenticator.`login(String username, Object password, javax.servlet.ServletRequest request)`

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

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

    Methods in org.eclipse.jetty.security.jaspi that return UserIdentity
    Modifier and Type | Method and Description
    --- | ---
    `UserIdentity` | JaspiAuthenticator.`login(String username, Object password, javax.servlet.ServletRequest request)`

  - ### 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` | Authentication.User.`getUserIdentity()`
    `UserIdentity` | Request.`getUserIdentity()`

Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.