]
Anil Saldhana updated SECURITY-262:
-----------------------------------
Fix Version/s: 2.0.2.CR7
(was: 2.0.2.GA)
JASPIAuthenticationInfo must override merge in order to merge the
login-module stacks
-------------------------------------------------------------------------------------
Key: SECURITY-262
URL:
https://jira.jboss.org/jira/browse/SECURITY-262
Project: JBoss Security and Identity Management
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: AS-Integration
Affects Versions: 2.0.2.CR6
Reporter: Stefan Guilhen
Assignee: Stefan Guilhen
Fix For: 2.0.2.CR7
JASPIAuthenticationInfo currently inherits the merge method from BaseSecurityInfo. As a
result, the login-module-stacks are lost during the merge process because the inherited
merge implementation creates a new instance of JASPIAuthenticationInfo that contains only
the merged auth-modules. To avoid this we must override the merge method in
JASPIAuthenticationInfo to make sure the login-module-stacks are also merged in the final
object.
Also, the ApplicationPolicy should not allow the merge of authentication and
authentication-jaspi methods, as only one of the configurations is allowed per policy.
This means that a verification is needed in order to make sure that a policy doesn't
extend a parent policy that specifies a different type of authentication.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: