Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [es-dev] TCK question on LDAP IDStore

Thanks for the quick follow up.

To make it easier to track the questions, I created 2 tickets 

https://github.com/eclipse-ee4j/jakartaee-tck/issues/355
https://github.com/eclipse-ee4j/jakartaee-tck/issues/356

Hope it helps

I'll give it a try with the soteria tests today.

Le lun. 6 juil. 2020 à 15:05, arjan tijms <arjan.tijms@xxxxxxxxx> a écrit :
Hi,

On Mon, Jul 6, 2020 at 1:54 PM Jean-Louis MONTEIRO <jeanouii@xxxxxxxxx> wrote:
This one also looks weird to be honest


Comment says it's supposed to return NOT_VALIDATED which is fine with me.
But implementation of the test is asserting an exception happens.


I'll take a look at those soon thx!
 
Did not try Soteria tests. If you have some pointers, I'm happy to give it a try.

The tests are all here: https://github.com/eclipse-ee4j/soteria/tree/master/test The TomEE target is at this location: https://github.com/eclipse-ee4j/soteria/blob/master/test/pom.xml#L665 It was last tested against TomEE 7.0.4, so maybe it needs some updating, but I'll leave that up to you ;) 

Hope this helps for now!

Kind regards,
Arjan

 

Thanks for the quick response



Le lun. 6 juil. 2020 à 12:03, arjan tijms <arjan.tijms@xxxxxxxxx> a écrit :
Hi,

I wasn’t personally much involved with the LDAP implementations anymore after the initial version, but I think many of the TCK tests were based / inspired on the Soteria tests. 

To cross-check, did you try running the tests in Soteria/tests against your implementation? They are implementation for independent and there already is a TomEE target (you just need to remove Soteria being added to TomEE).

As for the TCK tests itself, they were created by people external to the Java EE Security EG, so might not read along on this list.

On Monday, July 6, 2020, Jean-Louis MONTEIRO <jeanouii@xxxxxxxxx> wrote:
Hi,

LDAP identity store is required per spec.
I was trying to create an implementation at Apache and I was running the tests.

I am interested in having more information about 
com.sun.ts.tests.securityapi.idstore.ldap.invalidcallerbasedn.Client

@test_Strategy: LdapIdenttiyStore (priority=100) exists, but callerBaseDN
   * property is not correct Then validation is INVALID

All the other invalidXXX seem to expect an exception. Just wanted to know what were the thoughts that led this one to be expecting an INVALID response.

Can someone clarify?

--
Jean-Louis
_______________________________________________
es-dev mailing list
es-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/es-dev


--
Jean-Louis
_______________________________________________
es-dev mailing list
es-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/es-dev
_______________________________________________
es-dev mailing list
es-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/es-dev


--
Jean-Louis

Back to the top