See: Description
| Interface | Description | 
|---|---|
| Authenticated | The result of an authentication process, see  AuthenticationScheme.authenticate(Credentials). | 
| AuthenticationScheme | Every authentication scheme should implement its authentication method out of this API. | 
| Credentials | Authentication schemes define and require their own credentials. | 
| Class | Description | 
|---|---|
| BasicAuthenticated | A basic implementation of  Authenticatedthat contains the necessary elements for an OpenMRS authentication. | 
| Context | Represents an OpenMRS  Context, which may be used to authenticate to the database and
 obtain services in order to interact with the system. | 
| Daemon | This class allows certain tasks to run with elevated privileges. | 
| Daemon.DaemonThread | Thread class used by the  Daemon.startModule(Module)andDaemon.executeScheduledTask(Task)methods so that the returned object and the
 exception thrown can be returned to calling class | 
| DaoAuthenticationScheme | Base class for authentication schemes that intend to leverage OpenMRS'  ContextDAO. | 
| ServiceContext | Represents an OpenMRS  Service Context, which returns the services represented
 throughout the system. | 
| UserContext | Represents an OpenMRS  User Contextwhich stores the current user information. | 
| UsernamePasswordAuthenticationScheme | Default OpenMRS authentication scheme to login with OpenMRS' usernames and passwords. | 
| UsernamePasswordCredentials | User-pass credentials represent the usual OpenMRS authentication credentials made of a pair username + password. | 
| Exception | Description | 
|---|---|
| ContextAuthenticationException | This exception is thrown when a user attempts to access a service or object that they do not have
 rights to. | 
Copyright © 2024 OpenMRS Inc.. All rights reserved.