[JBoss JIRA] (SEAMSECURITY-121) [Regression] 3.1.0.Beta4 eats exceptions in IdentityImpl + returns RESPONSE_LOGIN_FAILED instead of RESPONSE_LOGIN_EXCEPTION
by Geoffrey De Smet (Created) (JIRA)
[Regression] 3.1.0.Beta4 eats exceptions in IdentityImpl + returns RESPONSE_LOGIN_FAILED instead of RESPONSE_LOGIN_EXCEPTION
----------------------------------------------------------------------------------------------------------------------------
Key: SEAMSECURITY-121
URL: https://issues.jboss.org/browse/SEAMSECURITY-121
Project: Seam Security
Issue Type: Bug
Affects Versions: 3.1.0.Beta4
Reporter: Geoffrey De Smet
Priority: Critical
Fix For: 3.1.0.Beta5
org.jboss.seam.security.IdentityImpl#authenticate line 237 eats exceptions:
{code}
} catch (Exception ex) {
authenticating = false;
if (ex instanceof AuthenticationException) throw (AuthenticationException) ex;
return false;
}
{code}
As a result, my @PostConstruct weld exception isn't show in the log between these 2 lines:
{code}
INFO 26-10 12:05:00,849 (DemoAuthenticator.java:authenticate:65) Demo login for user (admin) succeeded.
INFO 26-10 12:39:19,825 (SecurityServiceImpl.java:login:70) Logging in user [admin]
{code}
Extra bug:
{code}
public String login() {
try {
...
boolean success = authenticate();
...
return RESPONSE_LOGIN_FAILED;
} catch (Exception ex) { // Doesn't happen any more because authenticate() eat the exception
...
return RESPONSE_LOGIN_EXCEPTION;
}
}
{code}
Regression since Beta3 in Beta4.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] (SEAMSECURITY-130) Usage and implementation of equals/hashcode
by bram meijboom (Created) (JIRA)
Usage and implementation of equals/hashcode
--------------------------------------------
Key: SEAMSECURITY-130
URL: https://issues.jboss.org/browse/SEAMSECURITY-130
Project: Seam Security
Issue Type: Bug
Affects Versions: 3.1.0.Beta4
Environment: PICKETLINK-LDAP 1.5.0.ALPHA02, PICKETLINK 1.5.0.ALPHA02
Reporter: bram meijboom
Priority: Critical
Implementations of equals and hashcode are not consistent for the implemented org.picketlink.idm.spi.model.* classes, so a SimpleIdentityObject is not found in a hashset with IdentityObjectImpl's if there is a entry in the set that has the same name/type as the ldap one.
Due to the usage of hashsets in FallbackIdentityStoreRepository you end up with double entries when query-ing for objects. i think this is also a issue in the implementation of the FallbackIdentityStoreRepository (wich should use the interface only and not the equals/hashcode) or the api wich should provide consistent way of determining the hashcode and equals.
affected class:org.jboss.seam.security.management.IdentityObjectImpl
suggestions:
- use the provided org.picketlink.idm.impl.types.SimpleIdentityObject in the org.jboss.seam.security.management.picketlink.JpaIdentityStore
- make IdentityObjectImpl a subclass of SimpleIdentityObject
PS:
the implementation of LDAPIdentityObjectImpl is not consistent to, it uses the id.hashCode() in calculating the hashcode and not the name
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] (SEAMPERSIST-70) Seam Persistence documentation issues and comments
by Marek Schmidt (Created) (JIRA)
Seam Persistence documentation issues and comments
--------------------------------------------------
Key: SEAMPERSIST-70
URL: https://issues.jboss.org/browse/SEAMPERSIST-70
Project: Seam Persistence
Issue Type: Bug
Affects Versions: 3.1.0.Beta3
Reporter: Marek Schmidt
Fix For: 3.1.0.Final
Persistence
In general
* lots of persistence docs mention seam transactional stuff, while the Seam transactional docs are empty. The documentation should perhaps explain the persistence/transactional split and what modules does what.
1.2. Getting Started
* "seam-solder.jar" should be "solder-impl.jar",
* "If you are in a java SE environment you will probably also require seam-xml.jar as well for configuration purposes."
should be removed
* "seam-persistence-impl" should be "seam-persistence"
* "org.jboss.seam.solder" should be "org.jboss.solder"
* "seam-solder" should be "solder-impl"
* "org.jboss.seam.xml:seam-xml-config" dependency should be removed
1.3. Transaction Management
* "Seam" should perhaps be "Seam Persistence"?
1.3.1. Configuration
* "seam-xml" should be "Solder XML"
* "Seam Config XML" should be "Solder Config XML"
* typo in the example fragment "</tentityManager>" instead of "</t:entityManager>"
* "If you need multiple persistence units in your application then we highly recommend using an EE 6 compatible server, such as JBoss 6."
we should probably suggest JBoss AS 7 instead.
Missing pieces
* FlushModeManager, FlushModeType, ManagedPersistenceContext, PersistenceContexts, are not documented
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] (SEAM-115) Release has dependencies on an older release
by Ondrej Skutka (Created) (JIRA)
Release has dependencies on an older release
--------------------------------------------
Key: SEAM-115
URL: https://issues.jboss.org/browse/SEAM-115
Project: Seam 3 Distribution
Issue Type: Bug
Affects Versions: 3.1.0.Beta4
Reporter: Ondrej Skutka
Assignee: Shane Bryzak
Priority: Blocker
Fix For: 3.1.0.CR1
In Seam 3.1.0.Beta4 there are following dependencies/references
on 3.1.0-Beta3:
security/pom.xml
persistence/pom.xml
jcr/pom.xml
on 3.1.0-Beta2:
seam-3.1.0.Beta4-build/faces/examples/viewconfig/pom.xml
on 3.1.0-SNAPSHOT:
security/examples/saml-sp/pom.xml
security/examples/saml-idp/pom.xml
security/examples/openid-op/pom.xml
persistence/tests/jetty-hibernate/pom.xml
persistence/tests/jetty-openjpa/pom.xml
persistence/tests/jbossas-hibernate/pom.xml
faces/examples/viewaction/pom.xml
jms/testsuite/pom.xml
solder/examples/princess-rescue/pom.xml
solder/examples/quiz/pom.xml
on 3.0.0-SNAPSHOT:
jms/modules/activemq/pom.xml
jms/modules/hornetq/pom.xml
jms/modules/openmq/pom.xml
on 3.0.0-CR1:
remoting/pom.xml (should be 3.0.0.CR2?)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months