[JBoss JIRA] Created: (SEAMFACES-122) Find a way to use the @ViewConfig enums to provide yype-safe navigation rules
by Brian Leathem (JIRA)
Find a way to use the @ViewConfig enums to provide yype-safe navigation rules
-----------------------------------------------------------------------------
Key: SEAMFACES-122
URL: https://issues.jboss.org/browse/SEAMFACES-122
Project: Seam Faces
Issue Type: Feature Request
Components: View Configuration
Reporter: Brian Leathem
Fix For: 3.0.1
Option 1) instead of using a @ViewPattern annotation, instead pass it to the constructor of the enum, to be stored as a property of the enum.
Problem: the application developer would have to implement the constructor
Option 2) require the developer to implement an interfaces, that specifies a setViewId method for an enum value, programmatically set that viewId with what is in the @ViewPattern annotation
Feel free to provide more implementation options in the comments!
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] Created: (SEAMSECURITY-100) Create a JAR/library/dependency containing default implemetations of IdentityObject and corresponding @Entities for IdmAuthenticator
by Lincoln Baxter III (JIRA)
Create a JAR/library/dependency containing default implemetations of IdentityObject and corresponding @Entities for IdmAuthenticator
------------------------------------------------------------------------------------------------------------------------------------
Key: SEAMSECURITY-100
URL: https://issues.jboss.org/browse/SEAMSECURITY-100
Project: Seam Security
Issue Type: Feature Request
Affects Versions: 3.0.0.Final
Reporter: Lincoln Baxter III
In order to streamline/simplify the bootstrap process with Seam Security, we should really provide an optional JAR dependency that includes entity objects needed to get started with security "right away."
The docs are unclear as to how you would apply these techniques to your existing entities, and I think this is something that we really need to make clearer and simpler.
Providing a default implementation would help with this.
Option 2: provide a forge plugin to lay down these entities with a register/login/logout and even possibly an admin page, etc.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] Created: (SEAMSECURITY-99) @Observes LoginFailedEvent.getLoginException() is null
by Hendy Irawan (JIRA)
@Observes LoginFailedEvent.getLoginException() is null
------------------------------------------------------
Key: SEAMSECURITY-99
URL: https://issues.jboss.org/browse/SEAMSECURITY-99
Project: Seam Security
Issue Type: Bug
Affects Versions: 3.1.0.Beta1
Environment: Seam Security 3.1.0.Beta2, Ubuntu 11.04 64-bit, JBoss AS 7.0.1 everything
Reporter: Hendy Irawan
Sample code:
public void addLoginFailedMessage(@Observes LoginFailedEvent event, Messages messages) {
logger.info("Login failed: {}", (Object)event.getLoginException());
if (event.getLoginException() != null) {
messages.error(event.getLoginException().getMessage());
} else
messages.error("Login failed: " + event);
}
Assuming the following error:
03:46:05,165 ERROR [org.jboss.seam.security.jaas.JaasAuthenticator] (http--127.0.0.1-8080-6) JAAS authentication failed: javax.security.auth.login.FailedLoginException: Password Incorrect/Password Required
at org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:252) [picketbox-4.0.1.jar:4.0.1]
at org.jboss.security.auth.spi.UsersRolesLoginModule.login(UsersRolesLoginModule.java:154) [picketbox-4.0.1.jar:4.0.1]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_22]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [:1.6.0_22]
event.getLoginException() returns null, it should return a FailedLoginException instance.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months