[JBoss JIRA] (ELY-16) Add a RFC2256 based LDAP Realm
by Jan Kalina (JIRA)
[ https://issues.jboss.org/browse/ELY-16?page=com.atlassian.jira.plugin.sys... ]
Jan Kalina edited comment on ELY-16 at 9/11/17 6:22 AM:
--------------------------------------------------------
userPasswords in form like {noformat}{crypt}_N.../TTpyByTVvdmWGo{noformat} are already supported and tested:
https://github.com/wildfly-security/wildfly-elytron/blob/master/src/test/...
(only in base64 in tests, so no so obvious)
was (Author: honza889):
userPasswords in form like {{ {crypt}_N.../TTpyByTVvdmWGo }}
> Add a RFC2256 based LDAP Realm
> ------------------------------
>
> Key: ELY-16
> URL: https://issues.jboss.org/browse/ELY-16
> Project: WildFly Elytron
> Issue Type: Sub-task
> Reporter: Darran Lofthouse
> Fix For: 2.0.0.Alpha1
>
>
> RFC2256 defines the userPassword attribute on LDAP entries, officially this is supposed to be clear text - however many vendors now support a one way hash where the hash algorithm is specified at the beginning of the attribute value: -
> {noformat}
> {ssha}izu672WN0xA2ZaYofeiWyQ5QKxEBMNsbyQKwRw==
> {noformat}
> {noformat}
> ( 2.5.4.35 NAME 'userPassword' DESC 'RFC2256/2307: password of user' EQUALITY octetStringMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 USAGE userApplications X-SCHEMA 'system' )
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months
[JBoss JIRA] (ELY-16) Add a RFC2256 based LDAP Realm
by Jan Kalina (JIRA)
[ https://issues.jboss.org/browse/ELY-16?page=com.atlassian.jira.plugin.sys... ]
Jan Kalina commented on ELY-16:
-------------------------------
userPasswords in form like {{ {crypt}_N.../TTpyByTVvdmWGo }}
> Add a RFC2256 based LDAP Realm
> ------------------------------
>
> Key: ELY-16
> URL: https://issues.jboss.org/browse/ELY-16
> Project: WildFly Elytron
> Issue Type: Sub-task
> Reporter: Darran Lofthouse
> Fix For: 2.0.0.Alpha1
>
>
> RFC2256 defines the userPassword attribute on LDAP entries, officially this is supposed to be clear text - however many vendors now support a one way hash where the hash algorithm is specified at the beginning of the attribute value: -
> {noformat}
> {ssha}izu672WN0xA2ZaYofeiWyQ5QKxEBMNsbyQKwRw==
> {noformat}
> {noformat}
> ( 2.5.4.35 NAME 'userPassword' DESC 'RFC2256/2307: password of user' EQUALITY octetStringMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 USAGE userApplications X-SCHEMA 'system' )
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months
[JBoss JIRA] (DROOLS-1724) DRL compilation error on a generic type property
by Ryo Murai (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1724?page=com.atlassian.jira.plugi... ]
Ryo Murai closed DROOLS-1724.
-----------------------------
I will try a release of fixed mvel. Thank you.
> DRL compilation error on a generic type property
> ------------------------------------------------
>
> Key: DROOLS-1724
> URL: https://issues.jboss.org/browse/DROOLS-1724
> Project: Drools
> Issue Type: Bug
> Affects Versions: 6.5.0.Final
> Environment: drools 6.5.0.Final / java 1.8.0_131
> Reporter: Ryo Murai
> Assignee: Mario Fusco
> Fix For: 7.3.1.Final
>
>
> I got a DRL compilation error on accessing through a generic type property. Minimized object definition is below.
> {code:borderStyle=solid}
> public interface OrderLine<T extends Product> {
> T getProduct();
> }
> public interface Product {
> String getId();
> String getCategory();
> }
> // and I have concrete classes, ex. Book, BookOrderLine<Book>, DVD, DVDOrderLine<DVD>, ... etc
> {code}
> DRL(snippet) is here
> {code:borderStyle=solid}
> when
> $orderLine: OrderLine()
> // compilation failed
> Product(
> id == $orderLine.product.id || category == $orderLine.product.category
> ) from discountProducts
> {code}
> This causes below exception.
> {panel}
> java.lang.RuntimeException: [Message [id=1, kieBase=defaultKieBase, level=ERROR, path=rules/checkorder-not-compiled.drl, line=15, column=0 text=Unable to Analyse Expression id == $orderLine.product.id || category == $orderLine.product.category:
> [Error: unable to resolve method using strict-mode: java.lang.Object.category()]
> [Near : {... Line.product.id || category == $orderLine.product.category ....}]
> ^
> [Line: 15, Column: 2]]]
> {panel}
> This is weird because it won't occur when the restriction has single condition like below. Drools could analyze this expression.
> {code:borderStyle=solid}
> when
> $orderLine: OrderLine()
> // this is compiled, even if `Product(id == $orderLine.product.id)`
> Product(
> category == $orderLine.product.category
> ) from discountProducts
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months