From jboss-identity-commits at lists.jboss.org Tue Oct 6 15:18:36 2009
Content-Type: multipart/mixed; boundary="===============8824587154364036299=="
MIME-Version: 1.0
From: jboss-identity-commits at lists.jboss.org
To: jboss-identity-commits at lists.jboss.org
Subject: [jboss-identity-commits] JBoss Identity SVN: r818 - in
authz/trunk/documentation/reference-guide/en: modules and 1 other directory.
Date: Tue, 06 Oct 2009 15:18:36 -0400
Message-ID: <200910061918.n96JIapu023107@svn01.web.mwc.hst.phx2.redhat.com>
--===============8824587154364036299==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: sohil.shah(a)jboss.com
Date: 2009-10-06 15:18:36 -0400 (Tue, 06 Oct 2009)
New Revision: 818
Added:
authz/trunk/documentation/reference-guide/en/modules/core-components.xml
Modified:
authz/trunk/documentation/reference-guide/en/master.xml
Log:
core-components chapter
Modified: authz/trunk/documentation/reference-guide/en/master.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- authz/trunk/documentation/reference-guide/en/master.xml 2009-10-06 18:0=
2:54 UTC (rev 817)
+++ authz/trunk/documentation/reference-guide/en/master.xml 2009-10-06 19:1=
8:36 UTC (rev 818)
@@ -20,8 +20,6 @@
=
-
-
\ No newline at end of file
Added: authz/trunk/documentation/reference-guide/en/modules/core-components=
.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- authz/trunk/documentation/reference-guide/en/modules/core-components.xm=
l (rev 0)
+++ authz/trunk/documentation/reference-guide/en/modules/core-components.xm=
l 2009-10-06 19:18:36 UTC (rev 818)
@@ -0,0 +1,302 @@
+
+
+
+
+ Sohil
+ Shah
+ sshah(a)redhat.com
+
+
+ Core Components
+
+ Subject Components =
+
+ Identity
+ =
+
+
+ Description: Represents the u=
nique identity of the authenticated user accessing the system
+
+
+ Class:org.jboss.sec=
urity.authz.components.subject.Identity
+
+
+ ComponentType:Logic
+
+
+
+ Fields
+
+
+
+
+
+
+ Field Name
+ Type
+ Description =
+
+
+
+
+ name
+ java.lang.String<=
/entry>
+ Unique id/name of the Identity
+
+
+
+
+ =
+
+
+
+
+ Roles
+ =
+
+
+ Description: represents the r=
oles that are assigned to users/identities of the system
+
+
+ Class:org.jboss.sec=
urity.authz.components.subject.Roles
+
+
+ ComponentType:Logic
+
+
+ Boolean Expression Language:Drools DRL
+
+
+
+ Fields
+
+
+
+
+
+
+ Field Name
+ Type
+ Description =
+
+
+
+
+ names
+ java.util.Set<String><=
/emphasis>
+ A set of roles associated with the user accessing th=
e system
+
+
+ mustMatchAll
+ boolean (default: false)
+ Indicates whether user must belong to all the specif=
ied roles or atleast one of them
+
+
+
+
+
+
+
+ Boolean Expressions
+
+
+ =
+
+
+ Expression =
+ Description =
+
+
+
+
+ allowExpression=
entry> =
+ Suggests that the roles indicated by this object are=
permitted access to the 'Resource'
+
+
+ denyExpression =
+ Suggests that the roles indicated by this object are=
denied access to the 'Resource'
+
+
+
+
+ Fields
+
+
+
+
+
+
+ Field Name
+ Type
+ Description =
+
+
+
+
+ uri
+ java.net.URI
+ The unique URI that identifies this resource
+
+
+
+
+ =
+
+
+ =
+
+
+ Action Components =
+
+ Read
+ =
+
+
+ Description: Represents a read action that can be performed on a Resource. In a CRUD (CREATE, READ, UPDATE, DELETE)
+ usecase this would represent protection for R.
+
+
+ Class:org.jboss.sec=
urity.authz.components.action.Read
+
+
+ ComponentType:Target
+
+ =
+
+
+
+
+ Write
+ =
+
+
+ Description: Represents a write action that can be performed on a Resource. In a CRUD (CREATE, READ, UPDATE, DELETE)
+ usecase this would represent protection for C and U. =
+
+
+ Class:org.jboss.sec=
urity.authz.components.action.Write
+
+
+ ComponentType:Target
+
+
+ Implied Action:Read=
+ =
+
+
+
+
+ Manage
+ =
+
+
+ Description: Represents a manage action that can be performed on a Resource. In a <=
emphasis>CRUD (CREATE, READ, UPDATE, DELETE)
+ usecase this would represent protection for D. =
+
+
+ Class:org.jboss.sec=
urity.authz.components.action.Manage
+
+
+ ComponentType:Target
+
+
+ Implied Action:Read=
and Write
+ =
+
+
+ =
+ =
+
+ Environment Components =
+
+ TimeOfDay
+ =
+
+
+ Description: Represents the "=
Time of the Day" information to make an access decision
+
+
+ Class:org.jboss.sec=
urity.authz.components.environment.TimeOfDay
+
+
+ ComponentType:Logic
+
+
+ Boolean Expression Language:Drools DRL
+
+
+
+ Fields
+
+
+
+
+
+
+ Field Name
+ Type
+ Description =
+
+
+
+
+ timeofDay
+ java.util.Calendar
+ Time referring to the hour and minute of a day
+ =
+
+
+
+
+
+
+ Boolean Expressions
+
+
+ =
+
+
+ Expression =
+ Description =
+
+
+
+
+ matchIfBefore =
+ Suggests that access should be granted if its perfor=
med before the specified time of the day
+
+
+ matchIfAfter =
+ Suggests that access should be granted if the its pe=
rformed after the specified time of the day
+
+
+
+