[JBoss JIRA] (WFLY-4460) form login with jdbc realm doesnt work with standalone-full.xml
by Darran Lofthouse (JIRA)
[ https://issues.jboss.org/browse/WFLY-4460?page=com.atlassian.jira.plugin.... ]
Darran Lofthouse updated WFLY-4460:
-----------------------------------
Fix Version/s: (was: 8.0.0.Final)
> form login with jdbc realm doesnt work with standalone-full.xml
> ---------------------------------------------------------------
>
> Key: WFLY-4460
> URL: https://issues.jboss.org/browse/WFLY-4460
> Project: WildFly
> Issue Type: Feature Request
> Components: Security
> Affects Versions: 8.2.0.Final
> Reporter: Mohamed Rifni
> Assignee: Darran Lofthouse
>
> Everytime I try to login i get redirected back to the login form again, this is happening only with standalone-full.xml in wildfly 8.2. When I switch to standalone.xml it works.
> web.xml
> <security-constraint>
> <display-name>MANAGER</display-name>
> <web-resource-collection>
> <web-resource-name>Manager</web-resource-name>
> <description/>
> <url-pattern>/manager-area/*</url-pattern>
> </web-resource-collection>
> <auth-constraint>
> <description/>
> <role-name>MANAGER</role-name>
> </auth-constraint>
> </security-constraint>
> <login-config>
> <auth-method>FORM</auth-method>
> <realm-name>mtaV4-security-jdbcrealm</realm-name>
> <form-login-config>
> <form-login-page>/login_home.xhtml</form-login-page>
> <form-error-page>/login_home.xhtml</form-error-page>
> </form-login-config>
> </login-config>
> jboss-web.xml
> <?xml version="1.0" encoding="UTF-8"?>
> <jboss-web xmlns="http://www.jboss.com/xml/ns/javaee">
> <context-root/>
> <security-domain>mtaV4-security-jdbcrealm</security-domain>
> </jboss-web>
> standalone-full.xml
> <security-domain name="mtaV4-security-jdbcrealm" cache-type="default">
> <authentication>
> <login-module code="Database" flag="required">
> <module-option name="dsJndiName" value="java:/jboss/__MTAV4"/>
> <module-option name="principalsQuery" value="select userpassword from users where email=?"/>
> <module-option name="rolesQuery" value="select role_name, 'Roles' from user_roles where email=?"/>
> <module-option name="unauthenticatedIdentity" value="guest"/>
> </login-module>
> </authentication>
> </security-domain>
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 3 months
[JBoss JIRA] (WFLY-4460) form login with jdbc realm doesnt work with standalone-full.xml
by Darran Lofthouse (JIRA)
[ https://issues.jboss.org/browse/WFLY-4460?page=com.atlassian.jira.plugin.... ]
Darran Lofthouse updated WFLY-4460:
-----------------------------------
Component/s: (was: Security Manager)
> form login with jdbc realm doesnt work with standalone-full.xml
> ---------------------------------------------------------------
>
> Key: WFLY-4460
> URL: https://issues.jboss.org/browse/WFLY-4460
> Project: WildFly
> Issue Type: Feature Request
> Components: Security
> Affects Versions: 8.2.0.Final
> Reporter: Mohamed Rifni
> Assignee: Darran Lofthouse
> Fix For: 8.0.0.Final
>
>
> Everytime I try to login i get redirected back to the login form again, this is happening only with standalone-full.xml in wildfly 8.2. When I switch to standalone.xml it works.
> web.xml
> <security-constraint>
> <display-name>MANAGER</display-name>
> <web-resource-collection>
> <web-resource-name>Manager</web-resource-name>
> <description/>
> <url-pattern>/manager-area/*</url-pattern>
> </web-resource-collection>
> <auth-constraint>
> <description/>
> <role-name>MANAGER</role-name>
> </auth-constraint>
> </security-constraint>
> <login-config>
> <auth-method>FORM</auth-method>
> <realm-name>mtaV4-security-jdbcrealm</realm-name>
> <form-login-config>
> <form-login-page>/login_home.xhtml</form-login-page>
> <form-error-page>/login_home.xhtml</form-error-page>
> </form-login-config>
> </login-config>
> jboss-web.xml
> <?xml version="1.0" encoding="UTF-8"?>
> <jboss-web xmlns="http://www.jboss.com/xml/ns/javaee">
> <context-root/>
> <security-domain>mtaV4-security-jdbcrealm</security-domain>
> </jboss-web>
> standalone-full.xml
> <security-domain name="mtaV4-security-jdbcrealm" cache-type="default">
> <authentication>
> <login-module code="Database" flag="required">
> <module-option name="dsJndiName" value="java:/jboss/__MTAV4"/>
> <module-option name="principalsQuery" value="select userpassword from users where email=?"/>
> <module-option name="rolesQuery" value="select role_name, 'Roles' from user_roles where email=?"/>
> <module-option name="unauthenticatedIdentity" value="guest"/>
> </login-module>
> </authentication>
> </security-domain>
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 3 months
[JBoss JIRA] (WFLY-4460) form login with jdbc realm doesnt work with standalone-full.xml
by Darran Lofthouse (JIRA)
[ https://issues.jboss.org/browse/WFLY-4460?page=com.atlassian.jira.plugin.... ]
Darran Lofthouse reassigned WFLY-4460:
--------------------------------------
Assignee: Darran Lofthouse (was: Jason Greene)
> form login with jdbc realm doesnt work with standalone-full.xml
> ---------------------------------------------------------------
>
> Key: WFLY-4460
> URL: https://issues.jboss.org/browse/WFLY-4460
> Project: WildFly
> Issue Type: Feature Request
> Components: Security, Security Manager
> Affects Versions: 8.2.0.Final
> Reporter: Mohamed Rifni
> Assignee: Darran Lofthouse
> Fix For: 8.0.0.Final
>
>
> Everytime I try to login i get redirected back to the login form again, this is happening only with standalone-full.xml in wildfly 8.2. When I switch to standalone.xml it works.
> web.xml
> <security-constraint>
> <display-name>MANAGER</display-name>
> <web-resource-collection>
> <web-resource-name>Manager</web-resource-name>
> <description/>
> <url-pattern>/manager-area/*</url-pattern>
> </web-resource-collection>
> <auth-constraint>
> <description/>
> <role-name>MANAGER</role-name>
> </auth-constraint>
> </security-constraint>
> <login-config>
> <auth-method>FORM</auth-method>
> <realm-name>mtaV4-security-jdbcrealm</realm-name>
> <form-login-config>
> <form-login-page>/login_home.xhtml</form-login-page>
> <form-error-page>/login_home.xhtml</form-error-page>
> </form-login-config>
> </login-config>
> jboss-web.xml
> <?xml version="1.0" encoding="UTF-8"?>
> <jboss-web xmlns="http://www.jboss.com/xml/ns/javaee">
> <context-root/>
> <security-domain>mtaV4-security-jdbcrealm</security-domain>
> </jboss-web>
> standalone-full.xml
> <security-domain name="mtaV4-security-jdbcrealm" cache-type="default">
> <authentication>
> <login-module code="Database" flag="required">
> <module-option name="dsJndiName" value="java:/jboss/__MTAV4"/>
> <module-option name="principalsQuery" value="select userpassword from users where email=?"/>
> <module-option name="rolesQuery" value="select role_name, 'Roles' from user_roles where email=?"/>
> <module-option name="unauthenticatedIdentity" value="guest"/>
> </login-module>
> </authentication>
> </security-domain>
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 3 months
[JBoss JIRA] (WFLY-4460) form login with jdbc realm doesnt work with standalone-full.xml
by Darran Lofthouse (JIRA)
[ https://issues.jboss.org/browse/WFLY-4460?page=com.atlassian.jira.plugin.... ]
Darran Lofthouse updated WFLY-4460:
-----------------------------------
Priority: Major (was: Blocker)
> form login with jdbc realm doesnt work with standalone-full.xml
> ---------------------------------------------------------------
>
> Key: WFLY-4460
> URL: https://issues.jboss.org/browse/WFLY-4460
> Project: WildFly
> Issue Type: Feature Request
> Components: Security, Security Manager
> Affects Versions: 8.2.0.Final
> Reporter: Mohamed Rifni
> Assignee: Jason Greene
> Fix For: 8.0.0.Final
>
>
> Everytime I try to login i get redirected back to the login form again, this is happening only with standalone-full.xml in wildfly 8.2. When I switch to standalone.xml it works.
> web.xml
> <security-constraint>
> <display-name>MANAGER</display-name>
> <web-resource-collection>
> <web-resource-name>Manager</web-resource-name>
> <description/>
> <url-pattern>/manager-area/*</url-pattern>
> </web-resource-collection>
> <auth-constraint>
> <description/>
> <role-name>MANAGER</role-name>
> </auth-constraint>
> </security-constraint>
> <login-config>
> <auth-method>FORM</auth-method>
> <realm-name>mtaV4-security-jdbcrealm</realm-name>
> <form-login-config>
> <form-login-page>/login_home.xhtml</form-login-page>
> <form-error-page>/login_home.xhtml</form-error-page>
> </form-login-config>
> </login-config>
> jboss-web.xml
> <?xml version="1.0" encoding="UTF-8"?>
> <jboss-web xmlns="http://www.jboss.com/xml/ns/javaee">
> <context-root/>
> <security-domain>mtaV4-security-jdbcrealm</security-domain>
> </jboss-web>
> standalone-full.xml
> <security-domain name="mtaV4-security-jdbcrealm" cache-type="default">
> <authentication>
> <login-module code="Database" flag="required">
> <module-option name="dsJndiName" value="java:/jboss/__MTAV4"/>
> <module-option name="principalsQuery" value="select userpassword from users where email=?"/>
> <module-option name="rolesQuery" value="select role_name, 'Roles' from user_roles where email=?"/>
> <module-option name="unauthenticatedIdentity" value="guest"/>
> </login-module>
> </authentication>
> </security-domain>
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 3 months
[JBoss JIRA] (WFLY-4460) form login with jdbc realm doesnt work with standalone-full.xml
by Mohamed Rifni (JIRA)
[ https://issues.jboss.org/browse/WFLY-4460?page=com.atlassian.jira.plugin.... ]
Mohamed Rifni updated WFLY-4460:
--------------------------------
Component/s: Security
Security Manager
> form login with jdbc realm doesnt work with standalone-full.xml
> ---------------------------------------------------------------
>
> Key: WFLY-4460
> URL: https://issues.jboss.org/browse/WFLY-4460
> Project: WildFly
> Issue Type: Feature Request
> Components: Security, Security Manager
> Affects Versions: 8.2.0.Final
> Reporter: Mohamed Rifni
> Assignee: Jason Greene
> Priority: Blocker
> Fix For: 8.0.0.Final
>
>
> Everytime I try to login i get redirected back to the login form again, this is happening only with standalone-full.xml in wildfly 8.2. When I switch to standalone.xml it works.
> web.xml
> <security-constraint>
> <display-name>MANAGER</display-name>
> <web-resource-collection>
> <web-resource-name>Manager</web-resource-name>
> <description/>
> <url-pattern>/manager-area/*</url-pattern>
> </web-resource-collection>
> <auth-constraint>
> <description/>
> <role-name>MANAGER</role-name>
> </auth-constraint>
> </security-constraint>
> <login-config>
> <auth-method>FORM</auth-method>
> <realm-name>mtaV4-security-jdbcrealm</realm-name>
> <form-login-config>
> <form-login-page>/login_home.xhtml</form-login-page>
> <form-error-page>/login_home.xhtml</form-error-page>
> </form-login-config>
> </login-config>
> jboss-web.xml
> <?xml version="1.0" encoding="UTF-8"?>
> <jboss-web xmlns="http://www.jboss.com/xml/ns/javaee">
> <context-root/>
> <security-domain>mtaV4-security-jdbcrealm</security-domain>
> </jboss-web>
> standalone-full.xml
> <security-domain name="mtaV4-security-jdbcrealm" cache-type="default">
> <authentication>
> <login-module code="Database" flag="required">
> <module-option name="dsJndiName" value="java:/jboss/__MTAV4"/>
> <module-option name="principalsQuery" value="select userpassword from users where email=?"/>
> <module-option name="rolesQuery" value="select role_name, 'Roles' from user_roles where email=?"/>
> <module-option name="unauthenticatedIdentity" value="guest"/>
> </login-module>
> </authentication>
> </security-domain>
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 3 months
[JBoss JIRA] (WFLY-4460) form login with jdbc realm doesnt work with standalone-full.xml
by Mohamed Rifni (JIRA)
[ https://issues.jboss.org/browse/WFLY-4460?page=com.atlassian.jira.plugin.... ]
Mohamed Rifni updated WFLY-4460:
--------------------------------
Affects Version/s: 8.2.0.Final
> form login with jdbc realm doesnt work with standalone-full.xml
> ---------------------------------------------------------------
>
> Key: WFLY-4460
> URL: https://issues.jboss.org/browse/WFLY-4460
> Project: WildFly
> Issue Type: Feature Request
> Affects Versions: 8.2.0.Final
> Reporter: Mohamed Rifni
> Assignee: Jason Greene
> Priority: Blocker
> Fix For: 8.0.0.Final
>
>
> Everytime I try to login i get redirected back to the login form again, this is happening only with standalone-full.xml in wildfly 8.2. When I switch to standalone.xml it works.
> web.xml
> <security-constraint>
> <display-name>MANAGER</display-name>
> <web-resource-collection>
> <web-resource-name>Manager</web-resource-name>
> <description/>
> <url-pattern>/manager-area/*</url-pattern>
> </web-resource-collection>
> <auth-constraint>
> <description/>
> <role-name>MANAGER</role-name>
> </auth-constraint>
> </security-constraint>
> <login-config>
> <auth-method>FORM</auth-method>
> <realm-name>mtaV4-security-jdbcrealm</realm-name>
> <form-login-config>
> <form-login-page>/login_home.xhtml</form-login-page>
> <form-error-page>/login_home.xhtml</form-error-page>
> </form-login-config>
> </login-config>
> jboss-web.xml
> <?xml version="1.0" encoding="UTF-8"?>
> <jboss-web xmlns="http://www.jboss.com/xml/ns/javaee">
> <context-root/>
> <security-domain>mtaV4-security-jdbcrealm</security-domain>
> </jboss-web>
> standalone-full.xml
> <security-domain name="mtaV4-security-jdbcrealm" cache-type="default">
> <authentication>
> <login-module code="Database" flag="required">
> <module-option name="dsJndiName" value="java:/jboss/__MTAV4"/>
> <module-option name="principalsQuery" value="select userpassword from users where email=?"/>
> <module-option name="rolesQuery" value="select role_name, 'Roles' from user_roles where email=?"/>
> <module-option name="unauthenticatedIdentity" value="guest"/>
> </login-module>
> </authentication>
> </security-domain>
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 3 months
[JBoss JIRA] (WFLY-4460) form login with jdbc realm doesnt work with standalone-full.xml
by Mohamed Rifni (JIRA)
Mohamed Rifni created WFLY-4460:
-----------------------------------
Summary: form login with jdbc realm doesnt work with standalone-full.xml
Key: WFLY-4460
URL: https://issues.jboss.org/browse/WFLY-4460
Project: WildFly
Issue Type: Feature Request
Reporter: Mohamed Rifni
Assignee: Jason Greene
Priority: Blocker
Fix For: 8.0.0.Final
Everytime I try to login i get redirected back to the login form again, this is happening only with standalone-full.xml in wildfly 8.2. When I switch to standalone.xml it works.
web.xml
<security-constraint>
<display-name>MANAGER</display-name>
<web-resource-collection>
<web-resource-name>Manager</web-resource-name>
<description/>
<url-pattern>/manager-area/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<description/>
<role-name>MANAGER</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>FORM</auth-method>
<realm-name>mtaV4-security-jdbcrealm</realm-name>
<form-login-config>
<form-login-page>/login_home.xhtml</form-login-page>
<form-error-page>/login_home.xhtml</form-error-page>
</form-login-config>
</login-config>
jboss-web.xml
<?xml version="1.0" encoding="UTF-8"?>
<jboss-web xmlns="http://www.jboss.com/xml/ns/javaee">
<context-root/>
<security-domain>mtaV4-security-jdbcrealm</security-domain>
</jboss-web>
standalone-full.xml
<security-domain name="mtaV4-security-jdbcrealm" cache-type="default">
<authentication>
<login-module code="Database" flag="required">
<module-option name="dsJndiName" value="java:/jboss/__MTAV4"/>
<module-option name="principalsQuery" value="select userpassword from users where email=?"/>
<module-option name="rolesQuery" value="select role_name, 'Roles' from user_roles where email=?"/>
<module-option name="unauthenticatedIdentity" value="guest"/>
</login-module>
</authentication>
</security-domain>
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 3 months
[JBoss JIRA] (JBJCA-1255) Ant build cannot be performed for IronJacamar samples because of encoding property missed
by Nickolay Laptev (JIRA)
Nickolay Laptev created JBJCA-1255:
--------------------------------------
Summary: Ant build cannot be performed for IronJacamar samples because of encoding property missed
Key: JBJCA-1255
URL: https://issues.jboss.org/browse/JBJCA-1255
Project: IronJacamar
Issue Type: Bug
Affects Versions: 1.2.2.Final
Environment: MacOS
Reporter: Nickolay Laptev
Assignee: Jesper Pedersen
Downloaded IronJacamar archive and, following commands from user guide, ended with "ant" command.
Got an error that javac.encoding property is not set.
Actually this property is used in "build.xml" but it's not initialised within this file.
The same problem exist for all sample projects from the archive.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 3 months
[JBoss JIRA] (WFLY-4457) EL 3 LambdaExpression failing with an exception irreversibly pollutes variable scope
by Tomaz Cerar (JIRA)
[ https://issues.jboss.org/browse/WFLY-4457?page=com.atlassian.jira.plugin.... ]
Tomaz Cerar reassigned WFLY-4457:
---------------------------------
Assignee: Tomaz Cerar (was: Jason Greene)
> EL 3 LambdaExpression failing with an exception irreversibly pollutes variable scope
> ------------------------------------------------------------------------------------
>
> Key: WFLY-4457
> URL: https://issues.jboss.org/browse/WFLY-4457
> Project: WildFly
> Issue Type: Bug
> Affects Versions: 8.2.0.Final
> Reporter: Paul Pogonyshev
> Assignee: Tomaz Cerar
> Labels: el-expresion, patch
> Attachments: lambda-expression-scoping-fix.diff
>
>
> When a lambda expression is exited with an exception, its variables are left on stack and cannot be removed from it without hacks. My usecase is a customly defined function that uses exceptions as means of non-local exit, but the bug triggers even without custom functions, as demonstrated below.
> Test case:
> {noformat}
> ELProcessor processor = new ELProcessor ();
> processor.defineBean ("x", null);
> try {
> processor.eval ("(x -> x.bug ()) ('bug')");
> }
> catch (RuntimeException exception) {
> // This is expected, there is no method bug() on strings.
> }
> processor.eval ("x"); // This must evaluate to null, but instead evaluates to "bug".
> {noformat}
> Proposed fix will be attached as a short patch against 'javax/el/LambdaExpression.java'.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 3 months