此内容没有您所选择的语言版本。
15.12. Extending the Identity component
If your application has special security requirements, you may need to extend your Identity component. The following example shows an Identity component extended with an additional
companyCode
field to handle credentials. (Usually this would be handled by a Credentials
component.) The install precendence of APPLICATION
ensures that this extended Identity is installed instead of the built-in Identity.
Warning
An
Identity
component must be marked @Startup
so that it is available immediately after the SESSION
context begins. Failing to do this may render certain Seam functionality inoperable in your application.