<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Stroom – account</title>
    <link>/tags/account/</link>
    <description>Recent content in account on Stroom</description>
    <generator>Hugo -- gohugo.io</generator>
    <lastBuildDate>Wed, 29 Jul 2026 00:00:00 +0000</lastBuildDate>
    
	  <atom:link href="/tags/account/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Docs: User Accounts</title>
      <link>/docs/user-guide/security/user-accounts/</link>
      <pubDate>Wed, 29 Jul 2026 00:00:00 +0000</pubDate>
      
      <guid>/docs/user-guide/security/user-accounts/</guid>
      <description>
        
        
        
&lt;div class=&#34;alert alert-primary&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;alert-heading&#34;&gt;Note&lt;/h4&gt;



    &lt;p&gt;If Stroom is configured to use an external &lt;span class=&#34;glossary-link&#34;&gt;
&lt;a href=&#34;../../docs/glossary/i/glossary-idp&#34;&gt;
&lt;span&gt;Identity Provider (IDP)&lt;/span&gt;
&lt;i class=&#34;glossary-link-icon fas fa-book fa-sm text-primary&#34;&gt;&lt;/i&gt;
&lt;/a&gt;&lt;span class=&#34;glossary-tooltip&#34;&gt;
&lt;span class=&#34;glossary-tooltip-title&#34;&gt;Identity Provider (IDP)&lt;/span&gt;
&lt;span class=&#34;glossary-tooltip-summary&#34;&gt;An &lt;strong&gt;Id&lt;/strong&gt;entity &lt;strong&gt;P&lt;/strong&gt;rovider is a system or service that can authenticate a user and assert their identity. &lt;em&gt;Identity providers&lt;/em&gt; can support single sign on (SSO), which allows the user to sign in once to the &lt;em&gt;Identity Provider&lt;/em&gt; so they are then authenticated to all systems using that IDP.&lt;/span&gt;&lt;span class=&#34;glossary-tooltip-truncated&#34;&gt;Click to see more details…&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; (e.g. Azure Active Directory or AWS Cognito) then all user accounts are managed within that &lt;span class=&#34;glossary-link&#34;&gt;
&lt;a href=&#34;../../docs/glossary/i/glossary-idp&#34;&gt;
&lt;span&gt;Identity Provider (IDP)&lt;/span&gt;
&lt;i class=&#34;glossary-link-icon fas fa-book fa-sm text-primary&#34;&gt;&lt;/i&gt;
&lt;/a&gt;&lt;span class=&#34;glossary-tooltip&#34;&gt;
&lt;span class=&#34;glossary-tooltip-title&#34;&gt;Identity Provider (IDP)&lt;/span&gt;
&lt;span class=&#34;glossary-tooltip-summary&#34;&gt;An &lt;strong&gt;Id&lt;/strong&gt;entity &lt;strong&gt;P&lt;/strong&gt;rovider is a system or service that can authenticate a user and assert their identity. &lt;em&gt;Identity providers&lt;/em&gt; can support single sign on (SSO), which allows the user to sign in once to the &lt;em&gt;Identity Provider&lt;/em&gt; so they are then authenticated to all systems using that IDP.&lt;/span&gt;&lt;span class=&#34;glossary-tooltip-truncated&#34;&gt;Click to see more details…&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; and the Manage Accounts screen in Stroom will not be available.
For more details about external Identity Providers, see &lt;a href=&#34;../../docs/install-guide/setup/open-id/&#34;&gt;Open ID Connect&lt;/a&gt;.&lt;/p&gt;


&lt;/div&gt;


&lt;h2 id=&#34;accounts-vs-stroom-users&#34;&gt;Accounts vs Stroom Users&lt;/h2&gt;
&lt;p&gt;See &lt;a href=&#34;../../docs/install-guide/setup/open-id/accounts-users/&#34;&gt;Accounts vs Users&lt;/a&gt; for details on the difference between a Stroom User Account and a Stroom User.&lt;/p&gt;
&lt;h2 id=&#34;creating-user-accounts&#34;&gt;Creating User Accounts&lt;/h2&gt;
&lt;p&gt;User accounts can only be created by a user that holds the &lt;code&gt;Manage Users&lt;/code&gt; or &lt;code&gt;Administrator&lt;/code&gt; &lt;span class=&#34;glossary-link&#34;&gt;
    &lt;a href=&#34;../../docs/glossary/a/glossary-application-permission&#34;&gt;
      &lt;span&gt;Application permission&lt;/span&gt;
      &lt;i class=&#34;glossary-link-icon fas fa-book fa-sm text-primary&#34;&gt;&lt;/i&gt;
    &lt;/a&gt;&lt;span class=&#34;glossary-tooltip&#34;&gt;
      &lt;span class=&#34;glossary-tooltip-title&#34;&gt;Application permission&lt;/span&gt;
      &lt;span class=&#34;glossary-tooltip-summary&#34;&gt;This is a permission that is not specific to a single document. It applies to all documents or is not related to documents in any way.&lt;/span&gt;&lt;span class=&#34;glossary-tooltip-truncated&#34;&gt;Click to see more details...&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;Create a new user account by selecting&lt;/p&gt;





  &lt;div class=&#34;stroom-theme-dark stroom-menu&#34;&gt;
    
    

      

      
      


      

  
  
  &lt;div class=&#34;stroom-menu-item-background&#34; style=&#34;margin-top: 0px;&#34;&gt;
    
    &lt;div class=&#34;stroom-menu-item &#34; &gt;

      &lt;div class=&#34;stroom-menu-item-text&#34;&gt;Security
      &lt;/div&gt;
        &lt;div class=&#34;stroom-menu-item-arrow&#34;&gt;
          &lt;span class=&#34;stroom-icon inline-svg-button icon-button  &#34; &gt;
    &lt;span class=&#34;face&#34; title=&#34;Arrow right&#34;&gt;&lt;svg xmlns=&#34;http://www.w3.org/2000/svg&#34; width=&#34;1427.7665&#34; height=&#34;1427.7665&#34; viewBox=&#34;0 0 1427.7665 1427.7665&#34;&gt;&lt;g style=&#34;stroke:currentColor;stroke-width:167.567&#34;&gt;&lt;path d=&#34;m 415.05387,83.70929 c -39.92654,0.4303 -75.41463,48.3887 -40.0468,81.9121 C 567.552,348.69899 760.75555,531.15431 953.73208,713.82391 760.75555,896.49341 567.552,1078.9486 375.00707,1262.0262 c -46.19471,43.7855 28.48812,112.1966 76.0571,67.1681 195.93558,-185.823 392.95261,-370.82479 587.98693,-557.52749 5.6117,-4.8034 10.4633,-10.2473 14.4855,-16.1231 9.643,-12.4844 13.9638,-27.0796 13.6909,-41.7198 0.2729,-14.6402 -4.0479,-29.2354 -13.6909,-41.7198 -4.0222,-5.8758 -8.8738,-11.3198 -14.4855,-16.1231 C 844.01678,469.27821 646.99975,284.27629 451.06417,98.45319 439.91519,87.89979 427.27628,83.57749 415.05387,83.70929 Z&#34;/&gt;&lt;/g&gt;&lt;/svg&gt; &lt;/span&gt;
  &lt;/span&gt;
        &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;

      

      
      
        
      


      

  
  
  &lt;div class=&#34;stroom-menu-item-background&#34; style=&#34;margin-top: 7px;&#34;&gt;
    
    &lt;div class=&#34;stroom-menu-item stroom-menu-item-leaf&#34; &gt;
        &lt;div class=&#34;stroom-menu-item-icon&#34;&gt;
          &lt;span class=&#34;stroom-icon inline-svg-button icon-button  &#34; &gt;
    &lt;span class=&#34;face&#34; title=&#34;Users&#34;&gt;&lt;svg xmlns=&#34;http://www.w3.org/2000/svg&#34; width=&#34;1792&#34; height=&#34;1792&#34; viewBox=&#34;0 0 1792 1792&#34;&gt;&lt;path style=&#34;fill:var(--icon-colour__orange)&#34; d=&#34;M657 896q-162 5-265 128h-134q-82 0-138-40.5t-56-118.5q0-353 124-353 6 0 43.5 21t97.5 42.5 119 21.5q67 0 133-23-5 37-5 66 0 139 81 256zm1071 637q0 120-73 189.5t-194 69.5h-874q-121 0-194-69.5t-73-189.5q0-53 3.5-103.5t14-109 26.5-108.5 43-97.5 62-81 85.5-53.5 111.5-20q10 0 43 21.5t73 48 107 48 135 21.5 135-21.5 107-48 73-48 43-21.5q61 0 111.5 20t85.5 53.5 62 81 43 97.5 26.5 108.5 14 109 3.5 103.5zm-1024-1277q0 106-75 181t-181 75-181-75-75-181 75-181 181-75 181 75 75 181zm704 384q0 159-112.5 271.5t-271.5 112.5-271.5-112.5-112.5-271.5 112.5-271.5 271.5-112.5 271.5 112.5 112.5 271.5zm576 225q0 78-56 118.5t-138 40.5h-134q-103-123-265-128 81-117 81-256 0-29-5-66 66 23 133 23 59 0 119-21.5t97.5-42.5 43.5-21q124 0 124 353zm-128-609q0 106-75 181t-181 75-181-75-75-181 75-181 181-75 181 75 75 181z&#34;/&gt;&lt;/svg&gt; &lt;/span&gt;
  &lt;/span&gt;
        &lt;/div&gt;

      &lt;div class=&#34;stroom-menu-item-text&#34;&gt;Manage Accounts
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  &lt;/div&gt;



&lt;p&gt;from the main menu.&lt;/p&gt;
&lt;p&gt;As a minimum a user account must have a unique identifier that will be used to identify them in Stroom.&lt;/p&gt;
&lt;p&gt;If the user&amp;rsquo;s email address is added then Stroom will be able to email the user to reset their password.
This functionality is configured using the properties starting with this prefix &lt;code&gt;stroom.security.identity.email.&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id=&#34;account-states&#34;&gt;Account States&lt;/h2&gt;
&lt;p&gt;An account has three states and they are independent of one another.
An account can be locked and disabled at the same time, or inactive and disabled, and so on.
Each is shown as its own column in the Manage Accounts screen because each answers a different question.&lt;/p&gt;
&lt;p&gt;The quickest way to keep them apart is to ask what creates each state, because that also tells you what can clear it.&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;State&lt;/th&gt;
&lt;th&gt;What it is&lt;/th&gt;
&lt;th&gt;Set by&lt;/th&gt;
&lt;th&gt;Cleared by&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;em&gt;Disabled&lt;/em&gt;&lt;/td&gt;
&lt;td&gt;A decision. An administrator has said this account may not be used.&lt;/td&gt;
&lt;td&gt;An administrator&lt;/td&gt;
&lt;td&gt;An administrator&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;em&gt;Locked&lt;/em&gt;&lt;/td&gt;
&lt;td&gt;A defence. Stroom has reacted to repeated wrong passwords.&lt;/td&gt;
&lt;td&gt;Stroom&lt;/td&gt;
&lt;td&gt;Time, a password reset, or an administrator&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;em&gt;Inactive&lt;/em&gt;&lt;/td&gt;
&lt;td&gt;An observation. Nobody has used this account for some time.&lt;/td&gt;
&lt;td&gt;Stroom&lt;/td&gt;
&lt;td&gt;A successful sign in, or an administrator&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;An account in any of these three states cannot sign in.&lt;/p&gt;
&lt;h3 id=&#34;enabled-and-disabled&#34;&gt;Enabled and Disabled&lt;/h3&gt;
&lt;p&gt;This is the administrator&amp;rsquo;s control over whether an account may be used at all.
It is the only one of the three states that an administrator sets directly.&lt;/p&gt;
&lt;p&gt;Disabling an account prevents any further sign in, immediately.
A disabled account cannot be recovered by the user under any circumstances.
Waiting will not release it and a password reset will not release it.
This makes disabling the right action whenever someone must be prevented from signing in, whether temporarily, for example while they are on extended leave, or permanently.&lt;/p&gt;

&lt;div class=&#34;alert alert-warning&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;alert-heading&#34;&gt;Warning&lt;/h4&gt;


    &lt;p&gt;Disabling an account stops that person signing in again.
It does not end the sessions they already hold, nor revoke the tokens they are already using, so somebody who is signed in at the time may carry on working.&lt;/p&gt;
&lt;p&gt;To end access that is already in progress, disable the corresponding Stroom &lt;span class=&#34;glossary-link&#34;&gt;
&lt;a href=&#34;../../docs/glossary/u/glossary-user&#34;&gt;
&lt;span&gt;User&lt;/span&gt;
&lt;i class=&#34;glossary-link-icon fas fa-book fa-sm text-primary&#34;&gt;&lt;/i&gt;
&lt;/a&gt;&lt;span class=&#34;glossary-tooltip&#34;&gt;
&lt;span class=&#34;glossary-tooltip-title&#34;&gt;User&lt;/span&gt;
&lt;span class=&#34;glossary-tooltip-summary&#34;&gt;Refers to a Stroom User that is linked to either an &lt;em&gt;Account&lt;/em&gt; in Stroom’s internal &lt;em&gt;Identity Provider&lt;/em&gt; or a user account in an external &lt;em&gt;Identity Provider&lt;/em&gt;. A Stroom User is primarily concerned with authorisation (i.e. application/document permissions and group memberships) rather than authentication, though disabling one also refuses that person at authentication and ends any access they currently hold.&lt;/span&gt;&lt;span class=&#34;glossary-tooltip-truncated&#34;&gt;Click to see more details…&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; rather than, or as well as, the account.
Disabling a user ends their sessions across the cluster and revokes their tokens.
See &lt;a href=&#34;../../docs/user-guide/security/sessions-and-tokens/&#34;&gt;Sessions and Tokens&lt;/a&gt; for how the two differ and when each is appropriate.&lt;/p&gt;


&lt;/div&gt;


&lt;h3 id=&#34;locked&#34;&gt;Locked&lt;/h3&gt;
&lt;p&gt;An account is locked automatically after a number of consecutive failed sign in attempts, controlled by &lt;code&gt;stroom.security.identity.failedLoginLockThreshold&lt;/code&gt;.
It is a defence against password guessing and nothing more.&lt;/p&gt;
&lt;p&gt;An administrator cannot lock an account.
To prevent someone using Stroom, disable their account instead.&lt;/p&gt;
&lt;p&gt;While an account is locked, further sign in attempts are refused without the password being checked at all, and those attempts are not counted against the account.
Continued guessing therefore reveals nothing and does not extend the lock.&lt;/p&gt;
&lt;p&gt;There are three ways an account becomes usable again.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;em&gt;Waiting&lt;/em&gt;.
The lock lapses on its own after &lt;code&gt;stroom.security.identity.failedLoginLockDuration&lt;/code&gt;, which is thirty minutes by default.
Nothing needs to happen when it lapses.
The next sign in with the correct password simply succeeds.
The message shown to the user says roughly how long remains, so in a default configuration a locked user does not need to contact anybody.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;em&gt;Resetting their password&lt;/em&gt;.
If &lt;code&gt;stroom.security.identity.allowLockedAccountPasswordReset&lt;/code&gt; is enabled then the user can request a password reset email and set a new password, which unlocks the account at the same time.
This is described in &lt;a href=&#34;../../docs/user-guide/security/signing-in/&#34;&gt;Signing In&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;em&gt;An administrator unlocking it&lt;/em&gt;.
A user holding the &lt;code&gt;Manage Users&lt;/code&gt; or &lt;code&gt;Administrator&lt;/code&gt; &lt;span class=&#34;glossary-link&#34;&gt;
    &lt;a href=&#34;../../docs/glossary/a/glossary-application-permission&#34;&gt;
      &lt;span&gt;Application permission&lt;/span&gt;
      &lt;i class=&#34;glossary-link-icon fas fa-book fa-sm text-primary&#34;&gt;&lt;/i&gt;
    &lt;/a&gt;&lt;span class=&#34;glossary-tooltip&#34;&gt;
      &lt;span class=&#34;glossary-tooltip-title&#34;&gt;Application permission&lt;/span&gt;
      &lt;span class=&#34;glossary-tooltip-summary&#34;&gt;This is a permission that is not specific to a single document. It applies to all documents or is not related to documents in any way.&lt;/span&gt;&lt;span class=&#34;glossary-tooltip-truncated&#34;&gt;Click to see more details...&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; can use the &lt;em&gt;Unlock&lt;/em&gt; action in the Manage Accounts screen.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Setting &lt;code&gt;failedLoginLockDuration&lt;/code&gt; to zero means locks never lapse, in which case one of the other two routes is the only way back.
The duration is applied when a sign in is attempted rather than when the lock is created, so changing this property also changes locks that are already in force.&lt;/p&gt;
&lt;h3 id=&#34;inactive&#34;&gt;Inactive&lt;/h3&gt;
&lt;p&gt;The &lt;code&gt;Account Maintenance&lt;/code&gt; job marks an account as inactive when it has not been used for some time.
This happens in one of two cases:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A brand new account that has never been signed into was created longer ago than &lt;code&gt;stroom.security.identity.passwordPolicy.neverUsedAccountDeactivationThreshold&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;An account has not been signed into for longer than &lt;code&gt;stroom.security.identity.passwordPolicy.unusedAccountDeactivationThreshold&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Accounts flagged as &lt;em&gt;never expires&lt;/em&gt; are exempt, as are accounts that have been reactivated recently, so that reactivating an account does not simply see it deactivated again on the job&amp;rsquo;s next run.&lt;/p&gt;
&lt;p&gt;As with locking, an administrator cannot mark an account as inactive.
Disabling is the control for preventing access.&lt;/p&gt;
&lt;p&gt;How an inactive account becomes usable again depends on &lt;code&gt;stroom.security.identity.reactivateInactiveAccountsOnLogin&lt;/code&gt;.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;When it is disabled, which is the default, an administrator must use the &lt;em&gt;Reactivate&lt;/em&gt; action in the Manage Accounts screen.&lt;/li&gt;
&lt;li&gt;When it is enabled, presenting a valid credential reactivates the account and signs the user in, in one step.
This applies equally to a correct password and to a valid certificate.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;A disabled account is never reactivated automatically.
Reactivation only happens once a credential has been accepted, and a disabled account never gets that far.&lt;/p&gt;
&lt;h2 id=&#34;administrator-actions&#34;&gt;Administrator Actions&lt;/h2&gt;
&lt;p&gt;The Manage Accounts screen offers the following actions to a user holding the &lt;code&gt;Manage Users&lt;/code&gt; or &lt;code&gt;Administrator&lt;/code&gt; &lt;span class=&#34;glossary-link&#34;&gt;
    &lt;a href=&#34;../../docs/glossary/a/glossary-application-permission&#34;&gt;
      &lt;span&gt;Application permission&lt;/span&gt;
      &lt;i class=&#34;glossary-link-icon fas fa-book fa-sm text-primary&#34;&gt;&lt;/i&gt;
    &lt;/a&gt;&lt;span class=&#34;glossary-tooltip&#34;&gt;
      &lt;span class=&#34;glossary-tooltip-title&#34;&gt;Application permission&lt;/span&gt;
      &lt;span class=&#34;glossary-tooltip-summary&#34;&gt;This is a permission that is not specific to a single document. It applies to all documents or is not related to documents in any way.&lt;/span&gt;&lt;span class=&#34;glossary-tooltip-truncated&#34;&gt;Click to see more details...&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;.&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Action&lt;/th&gt;
&lt;th&gt;Effect&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;em&gt;Disable&lt;/em&gt; / &lt;em&gt;Enable&lt;/em&gt;&lt;/td&gt;
&lt;td&gt;Prevents or restores the ability to sign in. Does not end sessions already in progress.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;em&gt;Unlock&lt;/em&gt;&lt;/td&gt;
&lt;td&gt;Clears a failed sign in lock.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;em&gt;Reactivate&lt;/em&gt;&lt;/td&gt;
&lt;td&gt;Clears the inactive state.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;em&gt;Set password&lt;/em&gt;&lt;/td&gt;
&lt;td&gt;Sets a new password, optionally requiring the user to change it at their next sign in.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;There is deliberately no action to lock an account or to mark one as inactive.
Those two states are applied by Stroom in response to something it has observed, and an administrator wanting to prevent access should disable the account.&lt;/p&gt;
&lt;p&gt;Requiring a password change at the next sign in can safely be combined with setting a password in the same save.
The requirement is kept rather than being cleared by the password change.&lt;/p&gt;

&lt;div class=&#34;alert alert-primary&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;alert-heading&#34;&gt;See Also&lt;/h4&gt;
&lt;div class=&#34;alert-content&#34;&gt;
  
  &lt;p&gt;&lt;a href=&#34;../../docs/user-guide/security/signing-in/&#34;&gt;Signing In&lt;/a&gt;
&lt;a href=&#34;../../docs/user-guide/security/sessions-and-tokens/&#34;&gt;Sessions and Tokens&lt;/a&gt;&lt;/p&gt;

&lt;/div&gt;
&lt;/div&gt;


      </description>
    </item>
    
    <item>
      <title>Docs: Signing In</title>
      <link>/docs/user-guide/security/signing-in/</link>
      <pubDate>Wed, 29 Jul 2026 00:00:00 +0000</pubDate>
      
      <guid>/docs/user-guide/security/signing-in/</guid>
      <description>
        
        
        &lt;p&gt;This page describes what a user experiences when signing in to Stroom using its internal &lt;span class=&#34;glossary-link&#34;&gt;
    &lt;a href=&#34;../../docs/glossary/i/glossary-idp&#34;&gt;
      &lt;span&gt;Identity Provider (IDP)&lt;/span&gt;
      &lt;i class=&#34;glossary-link-icon fas fa-book fa-sm text-primary&#34;&gt;&lt;/i&gt;
    &lt;/a&gt;&lt;span class=&#34;glossary-tooltip&#34;&gt;
      &lt;span class=&#34;glossary-tooltip-title&#34;&gt;Identity Provider (IDP)&lt;/span&gt;
      &lt;span class=&#34;glossary-tooltip-summary&#34;&gt;An &lt;strong&gt;Id&lt;/strong&gt;entity &lt;strong&gt;P&lt;/strong&gt;rovider is a system or service that can authenticate a user and assert their identity. &lt;em&gt;Identity providers&lt;/em&gt; can support single sign on (SSO), which allows the user to sign in once to the &lt;em&gt;Identity Provider&lt;/em&gt; so they are then authenticated to all systems using that IDP.&lt;/span&gt;&lt;span class=&#34;glossary-tooltip-truncated&#34;&gt;Click to see more details...&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;.&lt;/p&gt;

&lt;div class=&#34;alert alert-primary&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;alert-heading&#34;&gt;Note&lt;/h4&gt;



    &lt;p&gt;None of this applies when Stroom is configured to use an external &lt;span class=&#34;glossary-link&#34;&gt;
&lt;a href=&#34;../../docs/glossary/i/glossary-idp&#34;&gt;
&lt;span&gt;Identity Provider (IDP)&lt;/span&gt;
&lt;i class=&#34;glossary-link-icon fas fa-book fa-sm text-primary&#34;&gt;&lt;/i&gt;
&lt;/a&gt;&lt;span class=&#34;glossary-tooltip&#34;&gt;
&lt;span class=&#34;glossary-tooltip-title&#34;&gt;Identity Provider (IDP)&lt;/span&gt;
&lt;span class=&#34;glossary-tooltip-summary&#34;&gt;An &lt;strong&gt;Id&lt;/strong&gt;entity &lt;strong&gt;P&lt;/strong&gt;rovider is a system or service that can authenticate a user and assert their identity. &lt;em&gt;Identity providers&lt;/em&gt; can support single sign on (SSO), which allows the user to sign in once to the &lt;em&gt;Identity Provider&lt;/em&gt; so they are then authenticated to all systems using that IDP.&lt;/span&gt;&lt;span class=&#34;glossary-tooltip-truncated&#34;&gt;Click to see more details…&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;.
In that case sign in, password policy and account recovery are all handled by that provider.
See &lt;a href=&#34;../../docs/install-guide/setup/open-id/&#34;&gt;Open ID Connect&lt;/a&gt;.&lt;/p&gt;


&lt;/div&gt;


&lt;h2 id=&#34;signing-in-with-a-password&#34;&gt;Signing in with a Password&lt;/h2&gt;
&lt;p&gt;The outcome of a sign in attempt depends on the state of the account as well as the password.&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Situation&lt;/th&gt;
&lt;th&gt;What the user is told&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Correct password, account in good order&lt;/td&gt;
&lt;td&gt;Signed in. Any earlier failed attempts are forgotten.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wrong password&lt;/td&gt;
&lt;td&gt;Invalid credentials. The failure is counted towards locking the account.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Account disabled&lt;/td&gt;
&lt;td&gt;The account is disabled and they should contact an administrator.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Account locked&lt;/td&gt;
&lt;td&gt;The account is locked, together with the quickest way to recover it.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Account inactive, correct password&lt;/td&gt;
&lt;td&gt;Either signed in, or told the account has been deactivated. See &lt;a href=&#34;../../docs/user-guide/security/user-accounts/&#34;&gt;User Accounts&lt;/a&gt;.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;A wrong password and a user id that does not exist produce exactly the same answer, so the sign in screen cannot be used to discover which accounts exist.&lt;/p&gt;
&lt;p&gt;For a disabled or locked account the password is not checked at all.
Neither state can be talked out of with a correct password, so there is nothing to be gained by checking one, and refusing without checking means the sign in screen cannot be used to test whether a password is correct.&lt;/p&gt;
&lt;p&gt;Failed attempts against a disabled or locked account are not counted, because the account is already refused.&lt;/p&gt;
&lt;h3 id=&#34;being-asked-to-change-your-password&#34;&gt;Being Asked to Change Your Password&lt;/h3&gt;
&lt;p&gt;A user may be signed in successfully and then be required to set a new password before they can do anything else.
This happens in three cases:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;It is their first ever sign in and &lt;code&gt;stroom.security.identity.passwordPolicy.forcePasswordChangeOnFirstLogin&lt;/code&gt; is enabled, which it is by default.&lt;/li&gt;
&lt;li&gt;An administrator has set a new password for them and asked that it be changed.&lt;/li&gt;
&lt;li&gt;Their password is older than &lt;code&gt;stroom.security.identity.passwordPolicy.mandatoryPasswordChangeDuration&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The new password must satisfy the password policy, which is applied by the server on every route that sets a password.
The previous password cannot be reused.&lt;/p&gt;
&lt;h2 id=&#34;getting-locked-out&#34;&gt;Getting Locked Out&lt;/h2&gt;
&lt;p&gt;After a number of consecutive wrong passwords, controlled by &lt;code&gt;stroom.security.identity.failedLoginLockThreshold&lt;/code&gt;, the account is locked.&lt;/p&gt;
&lt;p&gt;The message shown to a locked user depends on how the system is configured, and always gives them the cheapest way back in.&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Configuration&lt;/th&gt;
&lt;th&gt;What the user is told&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Locks lapse on their own, which is the default&lt;/td&gt;
&lt;td&gt;To try again in approximately so many minutes.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Locks lapse and self service reset is enabled&lt;/td&gt;
&lt;td&gt;The same, plus a pointer to &lt;em&gt;Forgot password?&lt;/em&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Locks never lapse (&lt;code&gt;failedLoginLockDuration&lt;/code&gt; is zero)&lt;/td&gt;
&lt;td&gt;To contact an administrator.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Locks never lapse and self service reset is enabled&lt;/td&gt;
&lt;td&gt;To use &lt;em&gt;Forgot password?&lt;/em&gt; or contact an administrator.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;An administrator is only named where an administrator really is the only way back.
In a default configuration a locked user is told to wait, which avoids a support request for something that resolves itself.&lt;/p&gt;
&lt;p&gt;See &lt;a href=&#34;../../docs/user-guide/security/user-accounts/&#34;&gt;User Accounts&lt;/a&gt; for the three ways an account becomes usable again.&lt;/p&gt;
&lt;h2 id=&#34;resetting-a-forgotten-password&#34;&gt;Resetting a Forgotten Password&lt;/h2&gt;
&lt;p&gt;If the user has an email address recorded against their account, and &lt;code&gt;stroom.security.identity.passwordPolicy.allowPasswordResets&lt;/code&gt; is enabled, they can use &lt;em&gt;Forgot password?&lt;/em&gt; on the sign in screen to be emailed a link for setting a new password.&lt;/p&gt;
&lt;p&gt;The response shown on screen is the same whether or not the address belongs to an account, so this screen cannot be used to discover which email addresses have accounts.&lt;/p&gt;
&lt;p&gt;The link is valid for &lt;code&gt;stroom.security.identity.token.emailResetTokenExpiration&lt;/code&gt;, ten minutes by default, and can be used only once.
Requesting another link invalidates any earlier one.
Repeated requests are rate limited by &lt;code&gt;stroom.security.identity.passwordResetRequestCooldown&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Completing a reset ends all of that user&amp;rsquo;s existing sessions everywhere in the cluster.
They then sign in with their new password.&lt;/p&gt;
&lt;h3 id=&#34;when-a-reset-cannot-be-completed&#34;&gt;When a Reset Cannot be Completed&lt;/h3&gt;
&lt;p&gt;Some accounts cannot be recovered this way.
Rather than sending a link that would not work, Stroom emails the account holder to say that the reset cannot currently be completed and that they should contact an administrator if it continues.&lt;/p&gt;
&lt;p&gt;This happens when:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The account is disabled.
Only an administrator can enable it again.&lt;/li&gt;
&lt;li&gt;The account is locked and &lt;code&gt;stroom.security.identity.allowLockedAccountPasswordReset&lt;/code&gt; is not enabled.
Note that a lock which has already lapsed does not prevent a reset.&lt;/li&gt;
&lt;li&gt;The account is inactive and &lt;code&gt;stroom.security.identity.reactivateInactiveAccountsOnLogin&lt;/code&gt; is not enabled.
Without it, setting a new password would not be enough to sign in, so an administrator has to reactivate the account first.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The email is deliberately the same in all three cases and does not say which one applies.
It goes to the address held against the account, so it tells the account holder something is wrong without telling whoever made the request anything at all.&lt;/p&gt;
&lt;p&gt;No email of any kind is sent when there is nobody to send it to, that is when the address matches no account, the account has no email address recorded, password resets are turned off, or an email was already sent within the cool-down period.&lt;/p&gt;
&lt;h2 id=&#34;signing-in-with-a-certificate&#34;&gt;Signing in with a Certificate&lt;/h2&gt;
&lt;p&gt;If &lt;code&gt;stroom.security.identity.allowCertificateAuthentication&lt;/code&gt; is enabled, a user presenting a valid certificate can be signed in without typing a password.
The user id is taken from the certificate&amp;rsquo;s common name using &lt;code&gt;stroom.security.identity.certificateCnPattern&lt;/code&gt; and &lt;code&gt;stroom.security.identity.certificateCnCaptureGroupIndex&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;A valid certificate is treated in exactly the same way as a correct password.
The same account states apply in the same order, so a disabled or locked account is still refused, and an inactive account is either reactivated or refused depending on &lt;code&gt;stroom.security.identity.reactivateInactiveAccountsOnLogin&lt;/code&gt;.&lt;/p&gt;

&lt;div class=&#34;alert alert-primary&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;alert-heading&#34;&gt;See Also&lt;/h4&gt;
&lt;div class=&#34;alert-content&#34;&gt;
  
  &lt;p&gt;&lt;a href=&#34;../../docs/user-guide/security/user-accounts/&#34;&gt;User Accounts&lt;/a&gt;
&lt;a href=&#34;../../docs/user-guide/security/sessions-and-tokens/&#34;&gt;Sessions and Tokens&lt;/a&gt;&lt;/p&gt;

&lt;/div&gt;
&lt;/div&gt;


      </description>
    </item>
    
  </channel>
</rss>
