A claim is a piece of information about a particular subject. It can be anything that the subject is owned by or associated with, such as name, group, preferences, etc. A claim provides a single and general notion to define the identity information related to the subject.
An identity claim is a special claim related to identity management. It can be used to specify information about the user account or the state of a user account such as the lastLoginTime, accountDisabled and accountLocked claims. Identity claims are identified by the claim URI. All identity claims have the term "identity" appended to the claim URI as follows:
By default, identity claim values are stored in the JDBC datasource configured in the
identity.xml file. If needed, you can configure WSO2 IS to store the claim values in the userstore as well.
<IS_HOME>/repository/conf/identity/identity.xmlfile and do the following configuration to change the
Data.Storeproperty value to
The identity claims mentioned below should be mapped correctly to the attributes in the underlying user store. For more information on how to do this, see Adding Claim Mapping.
- This claim is used to store the status of the user's account, i.e., if it is locked or not.
- This is used to store the timestamp that the user's account is unlocked.
- This is used to track the number of consecutive failed login attempts. It is based on this that the account is locked.
See the following topics for information on configuring claims.