One of the details I have to address has to do with schema validation. Is there any way to express a <xsd:choice> using the annotations? I'm asking because security policies should either have an authentication or an <authentication-jaspi> element, but never both simultaneously. How do I express this kind of restriction?
"sguilhen@redhat.com" wrote:
One of the details I have to address has to do with schema validation. Is there any way to express a <xsd:choice> using the annotations? I'm asking because security policies should either have an authentication or an <authentication-jaspi> element, but never both simultaneously. How do I express this kind of restriction?
Probably this post explains it best, why there is no special annotations. ;-)
- http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144891#4144891
Hey Ales, thanks again for the pointers. Adrian's post makes sense as validation is separate from XML mapping.
I'll do the validation programmatically like you suggested ;)
Stefan,
remember to change in the following:
AS/testsuite/src/resources/test-configs
as well as cts config
AS/testsuite/src/resources/test-configs/jacc has been fixed with security-policies-service.xml to se.....-beans.xml
cts should be updated.....