[seam-commits] [seam/faces] d302f5: SEAMFACES-33 Created the annotation for restrictin...

noreply at github.com noreply at github.com
Wed Mar 23 02:00:30 EDT 2011


Branch: refs/heads/master
Home:   https://github.com/seam/faces

Commit: d302f5b6edf1f27b3d8727ad8307719d1fbadeaa
    https://github.com/seam/faces/commit/d302f5b6edf1f27b3d8727ad8307719d1fbadeaa
Author: Brian Leathem <bleathem at gmail.com>
Date:   2011-03-22 (Tue, 22 Mar 2011)

Changed paths:
  A api/src/main/java/org/jboss/seam/faces/security/Restrict.java

Log Message:
-----------
SEAMFACES-33 Created the annotation for restricting view access


Commit: dc7cf591c44af4f5b81c2d2eaa1f96f5358c0425
    https://github.com/seam/faces/commit/dc7cf591c44af4f5b81c2d2eaa1f96f5358c0425
Author: Brian Leathem <bleathem at gmail.com>
Date:   2011-03-22 (Tue, 22 Mar 2011)

Changed paths:
  A impl/src/main/java/org/jboss/seam/faces/security/ViewMetaRestrictEnforcer.java

Log Message:
-----------
SEAMFACES-33 Added a system event listener to enforce @ViewConfig view restrictions


Commit: 8d1895fd31cc343058f2a0931d4712dc817d42ae
    https://github.com/seam/faces/commit/8d1895fd31cc343058f2a0931d4712dc817d42ae
Author: Brian Leathem <bleathem at gmail.com>
Date:   2011-03-22 (Tue, 22 Mar 2011)

Changed paths:
  A api/src/main/java/org/jboss/seam/faces/view/config/ViewConfig.java
  A api/src/main/java/org/jboss/seam/faces/view/config/ViewConfigStore.java
  A api/src/main/java/org/jboss/seam/faces/view/config/ViewPattern.java
  R api/src/main/java/org/jboss/seam/faces/viewdata/ViewConfig.java
  R api/src/main/java/org/jboss/seam/faces/viewdata/ViewData.java
  R api/src/main/java/org/jboss/seam/faces/viewdata/ViewDataStore.java
  R impl/src/main/java/org/jboss/seam/faces/security/ViewMetaRestrictEnforcer.java
  M impl/src/main/java/org/jboss/seam/faces/transaction/TransactionPhaseListener.java
  A impl/src/main/java/org/jboss/seam/faces/view/config/ViewConfigExtension.java
  A impl/src/main/java/org/jboss/seam/faces/view/config/ViewConfigSecurityEnforcer.java
  A impl/src/main/java/org/jboss/seam/faces/view/config/ViewConfigStoreImpl.java
  R impl/src/main/java/org/jboss/seam/faces/viewdata/ViewDataConfigurationExtension.java
  R impl/src/main/java/org/jboss/seam/faces/viewdata/ViewDataStoreImpl.java
  M impl/src/main/resources/META-INF/services/javax.enterprise.inject.spi.Extension
  A impl/src/test/java/org/jboss/seam/faces/test/view/config/Icon.java
  A impl/src/test/java/org/jboss/seam/faces/test/view/config/IconLiteral.java
  A impl/src/test/java/org/jboss/seam/faces/test/view/config/ViewConfigEnum.java
  A impl/src/test/java/org/jboss/seam/faces/test/view/config/ViewConfigStoreTest.java
  A impl/src/test/java/org/jboss/seam/faces/test/view/config/ViewConfigTest.java
  R impl/src/test/java/org/jboss/seam/faces/test/viewdata/Icon.java
  R impl/src/test/java/org/jboss/seam/faces/test/viewdata/IconLiteral.java
  R impl/src/test/java/org/jboss/seam/faces/test/viewdata/ViewDataConfigurationEnum.java
  R impl/src/test/java/org/jboss/seam/faces/test/viewdata/ViewDataConfigurationTest.java
  R impl/src/test/java/org/jboss/seam/faces/test/viewdata/ViewDataStoreTest.java

Log Message:
-----------
SEAMFACES-33 Refactored ViewData* to ViewConfig*


Commit: bbfa59adcf0afd2299f8bfb184ac90e76d931a1a
    https://github.com/seam/faces/commit/bbfa59adcf0afd2299f8bfb184ac90e76d931a1a
Author: Brian Leathem <bleathem at gmail.com>
Date:   2011-03-22 (Tue, 22 Mar 2011)

Changed paths:
  M impl/src/main/java/org/jboss/seam/faces/view/config/ViewConfigExtension.java

Log Message:
-----------
SEAMFACES-33 added trace message to ViewConfigExtension


Commit: 2c0c5198d5485dba9a8407cf523c4dbbf51e327c
    https://github.com/seam/faces/commit/2c0c5198d5485dba9a8407cf523c4dbbf51e327c
Author: Brian Leathem <bleathem at gmail.com>
Date:   2011-03-22 (Tue, 22 Mar 2011)

Changed paths:
  M api/src/main/java/org/jboss/seam/faces/security/Restrict.java
  M api/src/main/java/org/jboss/seam/faces/transaction/SeamManagedTransaction.java
  M api/src/main/java/org/jboss/seam/faces/view/config/ViewPattern.java
  M impl/src/main/java/org/jboss/seam/faces/view/config/ViewConfigExtension.java
  M impl/src/test/java/org/jboss/seam/faces/test/view/config/ViewConfigEnum.java

Log Message:
-----------
SEAMFACES-33 Changed the @ViewConfig annotations to work with interfaces, rather than enums


Commit: de0a7479da00bf39579c79c4861193025a3040f7
    https://github.com/seam/faces/commit/de0a7479da00bf39579c79c4861193025a3040f7
Author: Brian Leathem <bleathem at gmail.com>
Date:   2011-03-22 (Tue, 22 Mar 2011)

Changed paths:
  M api/src/main/java/org/jboss/seam/faces/view/config/ViewConfigStore.java
  M impl/src/main/java/org/jboss/seam/faces/transaction/TransactionPhaseListener.java
  M impl/src/main/java/org/jboss/seam/faces/view/config/ViewConfigStoreImpl.java
  M impl/src/test/java/org/jboss/seam/faces/test/view/config/ViewConfigStoreTest.java
  M impl/src/test/java/org/jboss/seam/faces/test/view/config/ViewConfigTest.java

Log Message:
-----------
SEAMFACES-33 Refactored the ViewConfigStore


Commit: ef00f7eeefcd8497f0fc4c1fbaaae7b0c00389ea
    https://github.com/seam/faces/commit/ef00f7eeefcd8497f0fc4c1fbaaae7b0c00389ea
Author: Brian Leathem <bleathem at gmail.com>
Date:   2011-03-22 (Tue, 22 Mar 2011)

Changed paths:
  M api/pom.xml
  M api/src/main/java/org/jboss/seam/faces/security/Restrict.java
  A api/src/main/java/org/jboss/seam/faces/security/SeurityCheckRequest.java
  M api/src/main/java/org/jboss/seam/faces/view/config/ViewConfigStore.java
  M impl/pom.xml
  M impl/src/main/java/org/jboss/seam/faces/view/config/ViewConfigExtension.java
  M impl/src/main/java/org/jboss/seam/faces/view/config/ViewConfigSecurityEnforcer.java
  M impl/src/main/java/org/jboss/seam/faces/view/config/ViewConfigStoreImpl.java

Log Message:
-----------
SEAMFACES-33 Trying the qualifier parsing - fails


Commit: 7d3d3c6692980275270361d84ba80e8762f19457
    https://github.com/seam/faces/commit/7d3d3c6692980275270361d84ba80e8762f19457
Author: Brian Leathem <bleathem at gmail.com>
Date:   2011-03-22 (Tue, 22 Mar 2011)

Changed paths:
  A impl/src/test/java/org/jboss/seam/faces/test/view/config/QualifiedIcon.java
  A impl/src/test/java/org/jboss/seam/faces/test/view/config/QualifiedIconLiteral.java
  A impl/src/test/java/org/jboss/seam/faces/test/view/config/TestQualifier.java
  M impl/src/test/java/org/jboss/seam/faces/test/view/config/ViewConfigEnum.java
  M impl/src/test/java/org/jboss/seam/faces/test/view/config/ViewConfigStoreTest.java

Log Message:
-----------
SEAMFACES-33 Added a test demonstrating the failure of qualifier retrieval of the ViewConfigStoreImpl


Commit: 1b2de43afa08c6e23873df4c4a2cdce77cf07eaa
    https://github.com/seam/faces/commit/1b2de43afa08c6e23873df4c4a2cdce77cf07eaa
Author: Brian Leathem <bleathem at gmail.com>
Date:   2011-03-22 (Tue, 22 Mar 2011)

Changed paths:
  M impl/src/main/java/org/jboss/seam/faces/view/config/ViewConfigStoreImpl.java
  M impl/src/test/java/org/jboss/seam/faces/test/view/config/ViewConfigStoreTest.java

Log Message:
-----------
SEAMFACES-33 Fixed the failing test for the Qualifier cache


Commit: 6861cc749aa9d9bb3bdd3855a5915d57891305e1
    https://github.com/seam/faces/commit/6861cc749aa9d9bb3bdd3855a5915d57891305e1
Author: Brian Leathem <bleathem at gmail.com>
Date:   2011-03-22 (Tue, 22 Mar 2011)

Changed paths:
  M impl/src/main/java/org/jboss/seam/faces/view/config/ViewConfigSecurityEnforcer.java
  M impl/src/main/java/org/jboss/seam/faces/view/config/ViewConfigStoreImpl.java
  M impl/src/test/java/org/jboss/seam/faces/test/view/config/ViewConfigStoreTest.java

Log Message:
-----------
SEAMFACES-33 Fixed the annotation return type for the Qualifier cache


Commit: a9d206299c2dcbca2eee2d93d58bb702feb9a055
    https://github.com/seam/faces/commit/a9d206299c2dcbca2eee2d93d58bb702feb9a055
Author: Brian Leathem <bleathem at gmail.com>
Date:   2011-03-22 (Tue, 22 Mar 2011)

Changed paths:
  M impl/src/main/java/org/jboss/seam/faces/view/config/ViewConfigStoreImpl.java
  A impl/src/test/java/org/jboss/seam/faces/test/view/config/QualifiedUrl.java
  A impl/src/test/java/org/jboss/seam/faces/test/view/config/QualifiedUrlLiteral.java
  M impl/src/test/java/org/jboss/seam/faces/test/view/config/ViewConfigStoreTest.java

Log Message:
-----------
SEAMFACES-33 Added support for multiple security annotations per ViewParam


Commit: 7157f6a47d2f1c43b813c8d4e1f678a2f864ab3a
    https://github.com/seam/faces/commit/7157f6a47d2f1c43b813c8d4e1f678a2f864ab3a
Author: Brian Leathem <bleathem at gmail.com>
Date:   2011-03-22 (Tue, 22 Mar 2011)

Changed paths:
  A api/src/main/java/org/jboss/seam/faces/event/PhaseIdType.java
  R api/src/main/java/org/jboss/seam/faces/security/Restrict.java
  R api/src/main/java/org/jboss/seam/faces/security/SeurityCheckRequest.java
  A api/src/main/java/org/jboss/seam/faces/view/config/AccessDeniedView.java
  A api/src/main/java/org/jboss/seam/faces/view/config/LoginView.java
  A api/src/main/java/org/jboss/seam/faces/view/config/RestrictAtPhase.java
  A api/src/main/java/org/jboss/seam/faces/view/config/SecurityCheckEvent.java
  M impl/src/main/java/org/jboss/seam/faces/view/config/ViewConfigSecurityEnforcer.java

Log Message:
-----------
SEAMFACES-33 Refined the @ViewConfig annotations


Commit: 84cd0e198e28182c136147dd87c446ea7b0353d2
    https://github.com/seam/faces/commit/84cd0e198e28182c136147dd87c446ea7b0353d2
Author: Brian Leathem <bleathem at gmail.com>
Date:   2011-03-22 (Tue, 22 Mar 2011)

Changed paths:
  M api/src/main/java/org/jboss/seam/faces/view/config/RestrictAtPhase.java
  M api/src/main/java/org/jboss/seam/faces/view/config/SecurityCheckEvent.java
  M impl/src/main/java/org/jboss/seam/faces/view/config/ViewConfigSecurityEnforcer.java
  M impl/src/main/java/org/jboss/seam/faces/view/config/ViewConfigStoreImpl.java

Log Message:
-----------
SEAMFACES-33 Changed the security enforcer to a phase listener


Commit: 5b6c9edc57d8d90e17115a6c76f8d748c019a18f
    https://github.com/seam/faces/commit/5b6c9edc57d8d90e17115a6c76f8d748c019a18f
Author: Brian Leathem <bleathem at gmail.com>
Date:   2011-03-22 (Tue, 22 Mar 2011)

Changed paths:
  M api/src/main/java/org/jboss/seam/faces/view/config/RestrictAtPhase.java
  M impl/src/main/java/org/jboss/seam/faces/view/config/ViewConfigSecurityEnforcer.java
  R impl/src/test/java/org/jboss/seam/faces/test/view/config/Icon.java
  R impl/src/test/java/org/jboss/seam/faces/test/view/config/IconLiteral.java
  R impl/src/test/java/org/jboss/seam/faces/test/view/config/QualifiedIcon.java
  R impl/src/test/java/org/jboss/seam/faces/test/view/config/QualifiedIconLiteral.java
  R impl/src/test/java/org/jboss/seam/faces/test/view/config/QualifiedUrl.java
  R impl/src/test/java/org/jboss/seam/faces/test/view/config/QualifiedUrlLiteral.java
  R impl/src/test/java/org/jboss/seam/faces/test/view/config/TestQualifier.java
  R impl/src/test/java/org/jboss/seam/faces/test/view/config/ViewConfigEnum.java
  A impl/src/test/java/org/jboss/seam/faces/test/view/config/ViewConfigSecurityEnforcerTest.java
  M impl/src/test/java/org/jboss/seam/faces/test/view/config/ViewConfigStoreTest.java
  M impl/src/test/java/org/jboss/seam/faces/test/view/config/ViewConfigTest.java
  A impl/src/test/java/org/jboss/seam/faces/test/view/config/annotation/Icon.java
  A impl/src/test/java/org/jboss/seam/faces/test/view/config/annotation/IconLiteral.java
  A impl/src/test/java/org/jboss/seam/faces/test/view/config/annotation/QualifiedIcon.java
  A impl/src/test/java/org/jboss/seam/faces/test/view/config/annotation/QualifiedIconLiteral.java
  A impl/src/test/java/org/jboss/seam/faces/test/view/config/annotation/QualifiedUrl.java
  A impl/src/test/java/org/jboss/seam/faces/test/view/config/annotation/QualifiedUrlLiteral.java
  A impl/src/test/java/org/jboss/seam/faces/test/view/config/annotation/TestQualifier.java
  A impl/src/test/java/org/jboss/seam/faces/test/view/config/annotation/ViewConfigEnum.java
  A impl/src/test/java/org/jboss/seam/security/extension/SecurityExtension.java

Log Message:
-----------
SEAMFACES-33 Expanded the view config security enforcer to watch all phases of interest


Commit: 1510bad674988b0b712a2cc8d8c2a33270caba3c
    https://github.com/seam/faces/commit/1510bad674988b0b712a2cc8d8c2a33270caba3c
Author: Brian Leathem <bleathem at gmail.com>
Date:   2011-03-22 (Tue, 22 Mar 2011)

Changed paths:
  M api/src/main/java/org/jboss/seam/faces/view/config/RestrictAtPhase.java
  A api/src/main/java/org/jboss/seam/faces/view/config/RestrictAtPhaseDefault.java
  M impl/src/main/java/org/jboss/seam/faces/view/config/ViewConfigSecurityEnforcer.java

Log Message:
-----------
SEAMFACES-33 Keep the @RestrictAtPhase default Phases DRY


Commit: d6ef0ebb5923f7afd0c953826208785f15b449e6
    https://github.com/seam/faces/commit/d6ef0ebb5923f7afd0c953826208785f15b449e6
Author: Brian Leathem <bleathem at gmail.com>
Date:   2011-03-22 (Tue, 22 Mar 2011)

Changed paths:
  R api/src/main/java/org/jboss/seam/faces/view/config/SecurityCheckEvent.java
  M impl/pom.xml
  M impl/src/main/java/org/jboss/seam/faces/view/config/ViewConfigSecurityEnforcer.java

Log Message:
-----------
SEAMFACES-33 Switched to using the Seam Security AuthorizationCheckEvent


Commit: 39026cf56ee4355f546bf87ccd2d07edd1d1e305
    https://github.com/seam/faces/commit/39026cf56ee4355f546bf87ccd2d07edd1d1e305
Author: Brian Leathem <bleathem at gmail.com>
Date:   2011-03-22 (Tue, 22 Mar 2011)

Changed paths:
  M api/src/main/java/org/jboss/seam/faces/view/config/AccessDeniedView.java
  M api/src/main/java/org/jboss/seam/faces/view/config/LoginView.java
  M api/src/main/java/org/jboss/seam/faces/view/config/ViewPattern.java
  M impl/src/main/java/org/jboss/seam/faces/transaction/TransactionPhaseListener.java
  M impl/src/main/java/org/jboss/seam/faces/view/config/ViewConfigExtension.java
  M impl/src/test/java/org/jboss/seam/faces/test/view/config/annotation/ViewConfigEnum.java

Log Message:
-----------
SEAMFACES-33 modified the @ViewConfig to work with enums nested in an interface


Commit: 28e6a1f0f46111cd7f304946878f1612c689ea6e
    https://github.com/seam/faces/commit/28e6a1f0f46111cd7f304946878f1612c689ea6e
Author: Brian Leathem <bleathem at gmail.com>
Date:   2011-03-22 (Tue, 22 Mar 2011)

Changed paths:
  M api/src/main/java/org/jboss/seam/faces/transaction/SeamManagedTransaction.java
  M api/src/main/java/org/jboss/seam/faces/view/config/AccessDeniedView.java
  M api/src/main/java/org/jboss/seam/faces/view/config/LoginView.java
  M api/src/main/java/org/jboss/seam/faces/view/config/RestrictAtPhaseDefault.java
  M api/src/main/java/org/jboss/seam/faces/view/config/ViewConfigStore.java
  M impl/src/main/java/org/jboss/seam/faces/transaction/TransactionPhaseListener.java
  A impl/src/main/java/org/jboss/seam/faces/view/config/SecurityPhaseListener.java
  M impl/src/main/java/org/jboss/seam/faces/view/config/ViewConfigExtension.java
  R impl/src/main/java/org/jboss/seam/faces/view/config/ViewConfigSecurityEnforcer.java
  M impl/src/main/java/org/jboss/seam/faces/view/config/ViewConfigStoreImpl.java
  A impl/src/test/java/org/jboss/seam/faces/test/view/config/SecurityPhaseListenerTest.java
  R impl/src/test/java/org/jboss/seam/faces/test/view/config/ViewConfigSecurityEnforcerTest.java
  M impl/src/test/java/org/jboss/seam/faces/test/view/config/ViewConfigStoreTest.java
  M impl/src/test/java/org/jboss/seam/faces/test/view/config/ViewConfigTest.java
  M impl/src/test/java/org/jboss/seam/security/extension/SecurityExtension.java

Log Message:
-----------
SEAMFACES-33 Cleanup of the implementation


Commit: c23a4e3d34084793ef377cff36f8573bcea6c107
    https://github.com/seam/faces/commit/c23a4e3d34084793ef377cff36f8573bcea6c107
Author: Brian Leathem <bleathem at gmail.com>
Date:   2011-03-22 (Tue, 22 Mar 2011)

Changed paths:
  A examples/security/pom.xml
  A examples/security/src/main/java/ca/triumf/mis/jsf/Owner.java
  A examples/security/src/main/java/ca/triumf/mis/jsf/Pages.java
  A examples/security/src/main/java/ca/triumf/mis/jsf/Public.java
  A examples/security/src/main/java/ca/triumf/mis/jsf/SecurityRules.java
  A examples/security/src/main/setup/jboss-ds.xml
  A examples/security/src/main/setup/jboss4-netbeans-destinations-service.xml
  A examples/security/src/main/webapp/WEB-INF/beans.xml
  A examples/security/src/main/webapp/WEB-INF/faces-config.xml
  A examples/security/src/main/webapp/WEB-INF/glassfish-web.xml
  A examples/security/src/main/webapp/WEB-INF/jboss-web.xml
  A examples/security/src/main/webapp/WEB-INF/sun-web.xml
  A examples/security/src/main/webapp/WEB-INF/web.xml
  A examples/security/src/main/webapp/index.jsf
  A examples/security/src/main/webapp/index.xhtml
  A examples/security/src/main/webapp/item.xhtml
  A examples/security/src/main/webapp/login.xhtml
  A examples/security/src/main/webapp/status.xhtml

Log Message:
-----------
SEAMFACES-33 Example app


Compare: https://github.com/seam/faces/compare/f03c77b...c23a4e3


More information about the seam-commits mailing list