Hello Sanka,
thanks for the answer.
I find this in the documentation, but my doubt is a little more complex...
Supose that you have a Policy (described in WS-Policy format), and you wrote
it in a .xm file. Using the reader, I can read your policy:
Policy policy = reader.readPolicy(fis);
But I have no idea how can I have access for your assertions, and
informations about the assertions (example: name of the assertions). Like you
said, we have the constructor PrimitiveAssertion, and we can create new
assertions. But I just want to know what assertions your policy have... I have
to create new assertions for this? If it yes, how can I associate them with the
policy?
Thanks for any help,
Fernando Aires
Citando Sanka Samaranayke <[EMAIL PROTECTED]>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Fernando Antonio Aires Lins wrote:
> > Hi,
> >
> > when we read a policy, is there any way to find information about
> > the assertions (example, name of the assertions,
>
>
> PrimitiveAsertion pa;
> ..
> pa.getName() will return the QName of that primitive assertion.
>
> > if it is primitive or composed...)?
> No .. but any domain specific policy process will know whether a
> primitive assertion which it understands is a primitive assertion or
> not based on its QName since it already has that knowledge.
>
> - --Sanka
> > Anyone tried it?
> >
> > Thanks,
> >
> > Fernando Aires
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED] For
> > additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> - --
> Sanka Samaranayake
> WSO2 Inc.
> T:+94-77-3506382 F:+94-11-2424304
>
> http://sankas.blogspot.com/
> http://www.wso2.net/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.1 (GNU/Linux)
>
> iD8DBQFE342a/Hd0ETKdgNIRAqdQAJwJJaGF3glPhEl5o+4MO1aEpF2uYQCffb/9
> Uh3qsZITYHeV8SdZJlHVc0Q=
> =QPJP
> -----END PGP SIGNATURE-----
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]