[Security Development] Document updated/added: "XACML Locators"
by ANIL SALDHANA
JBoss development,
The document "XACML Locators", was updated Feb 9, 2010
by ANIL SALDHANA.
To view the document, visit:
http://community.jboss.org/docs/DOC-14768#cf
Document:
--------------------------------------------------------------
JBossXACML in PicketBox suite provides Oasis XACML v2.0 support for Java applications.
/resources/scripts/tiny_mce3/plugins/jiveemoticons/images/spacer.gif
*What are Locators?*
Locators are interfaces in JBossXACML that allow one to provide additional or missing information to the PDP during evaluation.
They include:
* Attribute Locators
* Resource Locators
Attribute Locators
Attribute Locators are consulted when the Policy specifies certain attributes to be necessary for evaluation and the the request comes without the required attribute. In that case, the PDP is going to ask the attribute locator for a value for the attribute to make an evaluation. Again, remember the attribute locator is driven by the POLICY and not the REQUEST.
Procedure for Attribute Locators:
* Write a subclass of org.jboss.security.xacml.locators.AttributeLocator
* The following methods need to be overridden in your attribute locator
* @see AttributeFinderModule#findAttribute(String, org.w3c.dom.Node, URI, org.jboss.security.xacml.sunxacml.EvaluationCtx, String)
* @see AttributeFinderModule#findAttribute(URI, URI, URI, URI, org.jboss.security.xacml.sunxacml.EvaluationCtx, int)
* Then specify the attribute locator in your configuration file as shown in the example below.
Resource Locators
These are used in the Hierarchical Profile if you decide to use it.
--------------------------------------------------------------
16 years, 1 month
[EJB 3.0 Development] New message: "Re: EJBTHREE-2007: VFS Abstraction"
by Andrew Rubinger
JBoss development,
A new message was posted in the thread "EJBTHREE-2007: VFS Abstraction":
http://community.jboss.org/message/525144#525144
Author : Andrew Rubinger
Profile : http://community.jboss.org/people/ALRubinger
Message:
--------------------------------------------------------------
To use this, apply the following patch to projects/ejb3/trunk/build:
Index: pom.xml
===================================================================
--- pom.xml (revision 100755)
+++ pom.xml (working copy)
@@ -186,8 +186,20 @@
<requireMavenVersion>
<version>[2.0.9,2.1)</version>
</requireMavenVersion>
+ <noCompileDependencyRule implementation="org.jboss.maven.plugins.enforcer.rules.nocompiledep.NoCompileDependencyRule">
+ <excludes>
+ <exclude>org.jboss:jboss-vfs</exclude>
+ </excludes>
+ </noCompileDependencyRule>
</rules>
</configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.maven.plugins.enforcer.rules</groupId>
+ <artifactId>nocompiledep</artifactId>
+ <version>1.0.0-alpha-1</version>
+ </dependency>
+ </dependencies>
</plugin>
<plugin>
S,
ALR
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/525144#525144
16 years, 1 month
[EJB 3.0 Development] New message: "Re: EJBTHREE-2007: VFS Abstraction"
by Andrew Rubinger
JBoss development,
A new message was posted in the thread "EJBTHREE-2007: VFS Abstraction":
http://community.jboss.org/message/525131#525131
Author : Andrew Rubinger
Profile : http://community.jboss.org/people/ALRubinger
Message:
--------------------------------------------------------------
Looks like it does the job. I think I'll cut a release and see if it's too eager or breaks anything:
[WARNING] Rule 2: org.jboss.maven.plugins.enforcer.rules.nocompiledep.NoCompileDependencyRule failed with message:
Prohibited dependency from compilation: Dependency {groupId=org.jboss, artifactId=jboss-vfs, version=2.0.0.CR1, type=jar}
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed.
S,
ALR
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/525131#525131
16 years, 1 month