deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rafab...@apache.org
Subject svn commit: r1615662 - /deltaspike/site/trunk/content/security.mdtext
Date Mon, 04 Aug 2014 16:42:45 GMT
Author: rafabene
Date: Mon Aug  4 16:42:45 2014
New Revision: 1615662

URL: http://svn.apache.org/r1615662
Log:
DELTASPIKE-677 - document ds-security to Make intitially requested and secured page available
for redirect after login

Modified:
    deltaspike/site/trunk/content/security.mdtext

Modified: deltaspike/site/trunk/content/security.mdtext
URL: http://svn.apache.org/viewvc/deltaspike/site/trunk/content/security.mdtext?rev=1615662&r1=1615661&r2=1615662&view=diff
==============================================================================
--- deltaspike/site/trunk/content/security.mdtext (original)
+++ deltaspike/site/trunk/content/security.mdtext Mon Aug  4 16:42:45 2014
@@ -321,7 +321,7 @@ DeltaSpike can be combined with pure CDI
 
 ## CDI Implementation to redirect the login to the first denied page
 
-1. Your LoginService will fire a custom `UserLoggedInEvent`
+- Your LoginService will fire a custom `UserLoggedInEvent`
 
     :::java
     public class LoginService implements Serializable {
@@ -336,7 +336,7 @@ DeltaSpike can be combined with pure CDI
 
     }
 
-2. Use @SessionScoped or @WindowScoped for AdminAccessDecisionVoter and store the denied
page on your own.
+- Use @SessionScoped or @WindowScoped for AdminAccessDecisionVoter and store the denied page
on your own.
 
     :::java
     @SessionScoped //or @WindowScoped
@@ -366,7 +366,7 @@ DeltaSpike can be combined with pure CDI
         }
     }
 
-3. And in AuthenticationListener you inject AdminAccessDecisionVoter
+- And in AuthenticationListener you inject AdminAccessDecisionVoter
 
     :::java
     public class AuthenticationListener {
@@ -387,7 +387,7 @@ DeltaSpike can be combined with pure CDI
 
 Once that PicketLink handles the authentication for you, you only need to store the denied
page and observe PicketLink `LoggedInEvent` to redirect you back to the denied page.
 
-1. Use @SessionScoped or @WindowScoped for AdminAccessDecisionVoter and store the denied
page on your own.
+- Use @SessionScoped or @WindowScoped for AdminAccessDecisionVoter and store the denied page
on your own.
 
     :::java
     @SessionScoped //or @WindowScoped
@@ -421,7 +421,7 @@ Once that PicketLink handles the authent
         }
     }
 
-2. And in AuthenticationListener you inject AdminAccessDecisionVoter
+- And in AuthenticationListener you inject AdminAccessDecisionVoter
 
     :::java
     public class AuthenticationListener {



Mime
View raw message