You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:18:44 UTC
[sling-org-apache-sling-auth-form] annotated tag
org.apache.sling.auth.form-1.0.4 created (now fda26d9)
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a change to annotated tag org.apache.sling.auth.form-1.0.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-auth-form.git.
at fda26d9 (tag)
tagging f846d880442daea39c225964fd6a1b41063b9fa9 (commit)
by Bertrand Delacretaz
on Fri May 24 09:52:41 2013 +0000
- Log -----------------------------------------------------------------
org.apache.sling.auth.form-1.0.4
-----------------------------------------------------------------------
This annotated tag includes the following new commits:
new f467e0e SLING-1116 Initial Version based on Eric Norman's patch (thanks alot)
new 8b679bf SLING-1116 cleanup dependencies
new a0fcd1a SLING-1116 Implement support for the j_validate login form parameter and add support to convey a reason to render the login form using the j_reason request parameter for the login form request
new 44c5ccd SLING-1116 Fix service description
new a812358 SLING-1116 Ensure the FormLoginModulePlugin is actually registered as a service (otherwise authenticaiton may fail). Also the resource attribute is set in the extractRequestParameterAuthentication method to ensure a redirect takes place after successful login
new 0a41f41 SLING-1380 Do not return anything from getPrincipal to allow DefaultLoginModule.getPrincipal to kick in and validate the user name against the existing users (and also to provide the correct principal for the user)
new a25ef67 SLING-1116 make sure the login form action is an absolute path
new 33e89b6 SLING-1419 : Remove dependency to JCR
new 64b2394 SLING-1498 - saving resource being requested
new 0a8abcc SLING-1497 - adding tentative configuration for configuring service.ranking via ConfigAdmin/Metatype
new 1cb242e forgot that maven 3 dropped support for latest. oh well, new scr plugin should be released rsn
new 6b812d8 Use released parent pom.
new 4e10552 SLING-1116 Improve FormReason to convey the human-readable message by toString()
new 217e197 SLING-1565 Move private implementation classes to the impl package and export the o.a.s.formauth package for login forms to be able to interpret the j_reason value with the FormReason enum.
new a606003 SLING-1565 - need to move the login form as well to be in the same package as the servlet
new d5ecfb9 SLING-1564 - adding support for form inclusion as well as custom form pages via fragments
new 196a11f SLING-1587 - file name wasn't being logged
new d3222a7 SLING-1575 Adapt Form and OpenID authentication handler to use new abstract form servlet and authentication handler
new 531e943 SLING-1575 Add @scr.service tag for login form servlets and fully qualify path property definition in the authentication handler
new 03ed695 Remove unneeded (and commented out) version element
new 99b1053 SLING-1588 Fixed, cookie needs to be removed when found to be invalid.
new d24ad09 SLING-1614 Added config settings that allow a login form to be re-displayed when the login token expires, by default the login form is not displayed on expiry, on the basis that it was not displayed by default when the anon user first came to the site.
new e561eda SLING-1614 Added missing property name and metatype text.
new 008d39d SLING-1647 Set handler specific properties in the AuthenticationInfo instead of the credentials. The properties will be transferred to the session by the ResourceResolverFactory implementation
new bdb9503 SLING-1650 Consolidate authentication stuff in a new auth component; * rename commons/auth to auth/core * rename extensions/formauth to auth/form * rename extensions/openidauth to auth/openid
new f4f4bfc SLING-1650 Refactor auth/core, auth/form, auth/openid for the new packages identifying the auth component and refer to the new auth/core for the authentication handlers.
new 5ba6c25 SLING-1650 Remove old packages; make sure the login.html form source is in the correct (new) location
new 9946c7c Set JIRA version id and fix JavaDoc exclusions
new dc98910 Update to Sling API 2.1.0
new af26b77 use Auth Core 1.0.0 to prepare the release
new 9e52b4e [maven-release-plugin] prepare release org.apache.sling.auth.form-1.0.0
new 00fad8b [maven-release-plugin] prepare for next development iteration
new f045f34 Use previous Auth Core SNAPSHOT until after release
new 11448fa SLING-1695 - set the cookie domain either by a config admin property or using a key within the AuthenticationInfo object
new aee24d0 SLING-1714 Convert @scr JavaDoc tags to SCR annotations
new acc1f6b SLING-1714 Metatype descriptor generation is not enabled by default for annotations
new 2574aa6 SLING-1722 Do not embed StringUtils class but import the Commons Lang package
new 1bf2250 SLING-1721 Use no cookie domain if the configured (or requested) cookie domain is an empty string
new 18d11b7 SLING-1729 Provide a simple and faster alternative to the default SecureRandom seeding. This might be of interest mostly for the Linux and Solaris platforms which seed SecureRandom from the blocking /dev/random by default.
new 4d1d59e SLING-1729 Emit a log message if regular SecureRandom seeding is used
new ebdcfd7 Use released version of auth/core dependency
new 93fe53e SLING-1744 Split the authentication data into exactly three fields leaving any excess field separators in the user name field thus supporting user names with @ signs such as email addresses.
new dc0a50e SLING-1752 Unify resource attribute/parameter setting and default value handling
new e633f47 Revert changes from commit 996477 which are not intended to go into that commit (relative to handling auth failures for XHR requests and handling the cookie)
new bfe05c2 SLING-1762 Add the HttpOnly attribute to setting the authentication cookie to make sure the cookie is not available to client side JavaScript. Also, when extracting the authentication data from the cookie ignore empty values.
new 1e178f5 SLING-1783 Make the use of the j_reason request attribute to inform about failures for authentication official
new b087302 Don't quote cookie value and attributes
new 8a77e54 SLING-1785 Use new redirect helper method of tha AbstractAuthenticationHandler
new e4d4eff SLING-1428 Reimplement full j_validate functionality: Send a 403 response if either the provided cookie value is invalid or if the provided user name and password cannot be used to login. Created methods to actually send back the success or failure responses for validation requests.
new 888cdb3 SLING-1428 Implement generalized support for validating credentials supplied by a request using the j_validate request parameter.
new 64b8cf5 updating all modules to parent 10-SNAPSHOT in anticipation of emma additions to parent
new 8972039 SLING-1869 - upgrading to latest SCR plugin and putting scr.annotations in parent
new ad83c4f Update to recent snapshots
new 09f89ed Use latest releases.
new ef7843d Prepare releases
new 17bfd16 [maven-release-plugin] prepare release org.apache.sling.auth.form-1.0.2
new b472e70 [maven-release-plugin] prepare for next development iteration
new 2275900 Update to current snapshots
new 1f794a9 Update to releases
new 32d454e SLING-1847 Redirect after logout does not work with form authentication (+unit test)
new ac004cf SLING-2150 : Update plugins to use the latest available versions
new 2cda4c9 Update to recent snapshot
new 4ea6441 Using latest released parent pom
new 300e154 SLING-2187 - adding new module to contain our custom notice file; adding remote-resources plugin configuration to parent pom and removing all existing appended-resources NOTICE files
new 5a0790c temporarily using snapshots during release vote
new 30504c1 using latest releases
new e42a6f4 SLING-2080 Apply patch by Angela Schreiber (thank you very much)
new e145fd0 SLING-2080 Fix wrong JavaDoc references (Thanks Angela for reporting)
new eccd8eb SLING-2165 Form based login failure should stay on the same login page to show the login error
new c09ad3f SLING-2299 The checkReferer method has actually been moved to AuthUtil because it was not contained in a released version of Auth Core bundle yet.
new 87f291f SLING-2382 - having form auth handler set the login event triggering auth info property
new 56310ef SLING-2480 : Add config for maven-sling-plugin to m2e configuration
new 741517c SLING-2483 Update jackrabbit.server and jcr.base dependencies and add JCR API dependency to prevent the new bundle plugin to generate a too restrictive import for the JCR API (2.0 is backwards compatible with 1.0)
new 50a319e Update to latest parent pom
new 09818f4 Use released versions
new 9548090 Use latest releases and update to new parent pom
new 0ee728f Update to latest parent pom and use latest releases in launchpad
new 21cc027 Use released versions after release.
new ac9477f Correct reactor pom and update to parent pom 16
new 3ec65e6 SLING-2858 - Maven build fails after upgrading to parent 16: No annotation processors found in classpath
new 866ec35 [maven-release-plugin] prepare release org.apache.sling.auth.form-1.0.4
new f846d88 [maven-release-plugin] copy for tag org.apache.sling.auth.form-1.0.4
The 82 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
--
To stop receiving notification emails like this one, please contact
['"commits@sling.apache.org" <co...@sling.apache.org>'].
[sling-org-apache-sling-auth-form] 03/26: Update to releases
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.auth.form-1.0.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-auth-form.git
commit 1f794a9040836c8d19591cbbf06a5220ab57aba4
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Mon Dec 20 11:37:11 2010 +0000
Update to releases
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/auth/form@1051073 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 31a4043..29a6557 100644
--- a/pom.xml
+++ b/pom.xml
@@ -98,7 +98,7 @@
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.auth.core</artifactId>
- <version>1.0.5-SNAPSHOT</version>
+ <version>1.0.4</version>
<scope>provided</scope>
</dependency>
<dependency>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-auth-form] 13/26: SLING-2165 Form based
login failure should stay on the same login page to show the login error
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.auth.form-1.0.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-auth-form.git
commit eccd8ebed4320ba54546e34f7afbe85080c46a57
Author: Eric Norman <en...@apache.org>
AuthorDate: Sat Nov 12 22:22:51 2011 +0000
SLING-2165 Form based login failure should stay on the same login page to show the login error
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/auth/form@1201346 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
.../org/apache/sling/auth/form/impl/FormAuthenticationHandler.java | 6 ++++++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 0c39734..74bb31b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -98,7 +98,7 @@
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.auth.core</artifactId>
- <version>1.0.4</version>
+ <version>1.0.7-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/src/main/java/org/apache/sling/auth/form/impl/FormAuthenticationHandler.java b/src/main/java/org/apache/sling/auth/form/impl/FormAuthenticationHandler.java
index f18616b..4a2fbeb 100644
--- a/src/main/java/org/apache/sling/auth/form/impl/FormAuthenticationHandler.java
+++ b/src/main/java/org/apache/sling/auth/form/impl/FormAuthenticationHandler.java
@@ -353,6 +353,12 @@ public class FormAuthenticationHandler extends AbstractAuthenticationHandler {
return false;
}
+ //check the referer to see if the request is for this handler
+ if (!checkReferer(request, loginForm)) {
+ //not for this handler, so return
+ return false;
+ }
+
final String resource = setLoginResourceAttribute(request,
request.getRequestURI());
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-auth-form] 23/26: Correct reactor pom and
update to parent pom 16
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.auth.form-1.0.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-auth-form.git
commit ac9477f479776e7c2afff78f7eef99a3756e73b2
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Sun May 5 14:38:24 2013 +0000
Correct reactor pom and update to parent pom 16
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/auth/form@1479333 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index cdd9383..f11a8b4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
- <version>15</version>
+ <version>16</version>
<relativePath>../../../parent/pom.xml</relativePath>
</parent>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-auth-form] 10/26: using latest releases
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.auth.form-1.0.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-auth-form.git
commit 30504c18d73a6145562da055df2bef83a2aec4e0
Author: Justin Edelson <ju...@apache.org>
AuthorDate: Wed Sep 7 14:35:51 2011 +0000
using latest releases
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/auth/form@1166199 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index bb92476..0c39734 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
- <version>13-SNAPSHOT</version>
+ <version>12</version>
<relativePath>../../../parent/pom.xml</relativePath>
</parent>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-auth-form] 18/26: Update to latest parent
pom
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.auth.form-1.0.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-auth-form.git
commit 50a319e6a4b56c715e93dfb2ab0fff37235d56fd
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Thu Jul 5 09:29:47 2012 +0000
Update to latest parent pom
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/auth/form@1357521 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index b66da6c..7fd4a8b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
- <version>13-SNAPSHOT</version>
+ <version>14-SNAPSHOT</version>
<relativePath>../../../parent/pom.xml</relativePath>
</parent>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-auth-form] 19/26: Use released versions
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.auth.form-1.0.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-auth-form.git
commit 09818f4085fc870d6824428bf95ca424ba410e04
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Tue Jul 10 11:07:18 2012 +0000
Use released versions
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/auth/form@1359601 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 7fd4a8b..e50f931 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
- <version>14-SNAPSHOT</version>
+ <version>13</version>
<relativePath>../../../parent/pom.xml</relativePath>
</parent>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-auth-form] 15/26: SLING-2382 - having form
auth handler set the login event triggering auth info property
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.auth.form-1.0.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-auth-form.git
commit 87f291fd6727ab35c557225ca0f2186efb93142f
Author: Justin Edelson <ju...@apache.org>
AuthorDate: Wed Jan 25 03:06:07 2012 +0000
SLING-2382 - having form auth handler set the login event triggering auth info property
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/auth/form@1235611 13f79535-47bb-0310-9956-ffa450edef68
---
.../java/org/apache/sling/auth/form/impl/FormAuthenticationHandler.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/main/java/org/apache/sling/auth/form/impl/FormAuthenticationHandler.java b/src/main/java/org/apache/sling/auth/form/impl/FormAuthenticationHandler.java
index fb1ce00..03938af 100644
--- a/src/main/java/org/apache/sling/auth/form/impl/FormAuthenticationHandler.java
+++ b/src/main/java/org/apache/sling/auth/form/impl/FormAuthenticationHandler.java
@@ -49,6 +49,7 @@ import org.apache.sling.api.resource.LoginException;
import org.apache.sling.api.resource.Resource;
import org.apache.sling.api.resource.ResourceResolver;
import org.apache.sling.api.resource.ResourceResolverFactory;
+import org.apache.sling.auth.core.AuthConstants;
import org.apache.sling.auth.core.AuthUtil;
import org.apache.sling.auth.core.spi.AbstractAuthenticationHandler;
import org.apache.sling.auth.core.spi.AuthenticationHandler;
@@ -584,6 +585,7 @@ public class FormAuthenticationHandler extends AbstractAuthenticationHandler {
if (user != null && pwd != null) {
info = new AuthenticationInfo(HttpServletRequest.FORM_AUTH,
user, pwd.toCharArray());
+ info.put(AuthConstants.AUTH_INFO_LOGIN, new Object());
// if this request is providing form credentials, we have to
// make sure, that the request is redirected after successful
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-auth-form] 08/26: SLING-2187 - adding new
module to contain our custom notice file;
adding remote-resources plugin configuration to parent pom and removing all
existing appended-resources NOTICE files
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.auth.form-1.0.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-auth-form.git
commit 300e1543c138f8a024ef5e209537b0edae6923b9
Author: Justin Edelson <ju...@apache.org>
AuthorDate: Wed Aug 31 19:23:49 2011 +0000
SLING-2187 - adding new module to contain our custom notice file; adding remote-resources plugin configuration to parent pom and removing all existing appended-resources NOTICE files
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/auth/form@1163752 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index b4c554a..4a3d8c0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
- <version>11</version>
+ <version>12-SNAPSHOT</version>
<relativePath>../../../parent/pom.xml</relativePath>
</parent>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-auth-form] 25/26: [maven-release-plugin]
prepare release org.apache.sling.auth.form-1.0.4
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.auth.form-1.0.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-auth-form.git
commit 866ec35ffd5bacab42b55fd600401115ae0dbe0e
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Fri May 24 09:52:04 2013 +0000
[maven-release-plugin] prepare release org.apache.sling.auth.form-1.0.4
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/auth/form@1485991 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/pom.xml b/pom.xml
index b41d10f..f8da8bc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -26,7 +26,7 @@
</parent>
<artifactId>org.apache.sling.auth.form</artifactId>
- <version>1.0.3-SNAPSHOT</version>
+ <version>1.0.4</version>
<packaging>bundle</packaging>
<name>Apache Sling Form Based Authentication Handler</name>
@@ -43,9 +43,9 @@
</properties>
<scm>
- <connection>scm:svn:http://svn.apache.org/repos/asf/sling/trunk/bundles/auth/form</connection>
- <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/trunk/bundles/auth/form</developerConnection>
- <url>http://svn.apache.org/viewvc/sling/trunk/bundles/auth/form</url>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.auth.form-1.0.4</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.auth.form-1.0.4</developerConnection>
+ <url>http://svn.apache.org/viewvc/sling/tags/org.apache.sling.auth.form-1.0.4</url>
</scm>
<build>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-auth-form] 26/26: [maven-release-plugin]
copy for tag org.apache.sling.auth.form-1.0.4
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.auth.form-1.0.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-auth-form.git
commit f846d880442daea39c225964fd6a1b41063b9fa9
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Fri May 24 09:52:41 2013 +0000
[maven-release-plugin] copy for tag org.apache.sling.auth.form-1.0.4
git-svn-id: https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.auth.form-1.0.4@1485992 13f79535-47bb-0310-9956-ffa450edef68
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-auth-form] 07/26: Using latest released
parent pom
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.auth.form-1.0.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-auth-form.git
commit 4ea6441b8b2880cd3948011e3e41d7008975d8a7
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Mon Aug 8 11:31:38 2011 +0000
Using latest released parent pom
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/auth/form@1154924 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 4a3d8c0..b4c554a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
- <version>12-SNAPSHOT</version>
+ <version>11</version>
<relativePath>../../../parent/pom.xml</relativePath>
</parent>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-auth-form] 16/26: SLING-2480 : Add config
for maven-sling-plugin to m2e configuration
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.auth.form-1.0.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-auth-form.git
commit 56310ef8e107c7fc08a328639a8c2862d5c0f9d3
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Wed May 16 07:39:13 2012 +0000
SLING-2480 : Add config for maven-sling-plugin to m2e configuration
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/auth/form@1339038 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 74bb31b..e7ba9c2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
- <version>12</version>
+ <version>13-SNAPSHOT</version>
<relativePath>../../../parent/pom.xml</relativePath>
</parent>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-auth-form] 04/26: SLING-1847 Redirect after
logout does not work with form authentication (+unit test)
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.auth.form-1.0.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-auth-form.git
commit 32d454e2aba4b9431a24e494e53508b64ebe8036
Author: Eric Norman <en...@apache.org>
AuthorDate: Tue Mar 29 06:36:23 2011 +0000
SLING-1847 Redirect after logout does not work with form authentication (+unit test)
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/auth/form@1086496 13f79535-47bb-0310-9956-ffa450edef68
---
.../auth/form/impl/FormAuthenticationHandler.java | 49 ++++++++++++----------
1 file changed, 26 insertions(+), 23 deletions(-)
diff --git a/src/main/java/org/apache/sling/auth/form/impl/FormAuthenticationHandler.java b/src/main/java/org/apache/sling/auth/form/impl/FormAuthenticationHandler.java
index 6e25289..bf15f0b 100644
--- a/src/main/java/org/apache/sling/auth/form/impl/FormAuthenticationHandler.java
+++ b/src/main/java/org/apache/sling/auth/form/impl/FormAuthenticationHandler.java
@@ -457,31 +457,34 @@ public class FormAuthenticationHandler extends AbstractAuthenticationHandler {
refreshAuthData(request, response, authInfo);
final boolean result;
- if (DefaultAuthenticationFeedbackHandler.handleRedirect(
- request, response)) {
-
- // terminate request, all done in the default handler
- result = false;
-
- } else {
-
- // check whether redirect is requested by the resource parameter
-
- final String resource = getLoginResource(request, null);
- if (resource != null) {
- try {
- response.sendRedirect(resource);
- } catch (IOException ioe) {
- log.error("Failed to send redirect to: " + resource, ioe);
- }
-
- // terminate request, all done
- result = true;
+ // SLING-1847: only consider a resource redirect if this is a POST request
+ // to the j_security_check URL
+ if (REQUEST_METHOD.equals(request.getMethod())
+ && request.getRequestURI().endsWith(REQUEST_URL_SUFFIX)) {
+
+ if (DefaultAuthenticationFeedbackHandler.handleRedirect(request, response)) {
+ // terminate request, all done in the default handler
+ result = false;
} else {
- // no redirect, hence continue processing
- result = false;
+ // check whether redirect is requested by the resource parameter
+ final String resource = getLoginResource(request, null);
+ if (resource != null) {
+ try {
+ response.sendRedirect(resource);
+ } catch (IOException ioe) {
+ log.error("Failed to send redirect to: " + resource, ioe);
+ }
+
+ // terminate request, all done
+ result = true;
+ } else {
+ // no redirect, hence continue processing
+ result = false;
+ }
}
-
+ } else {
+ // no redirect, hence continue processing
+ result = false;
}
// no redirect
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-auth-form] 22/26: Use released versions
after release.
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.auth.form-1.0.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-auth-form.git
commit 21cc027d5a4d114d29d45c5a9ec17b9c46a96508
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Mon Apr 22 08:40:51 2013 +0000
Use released versions after release.
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/auth/form@1470410 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 88f3f9e..cdd9383 100644
--- a/pom.xml
+++ b/pom.xml
@@ -98,7 +98,7 @@
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.auth.core</artifactId>
- <version>1.0.7-SNAPSHOT</version>
+ <version>1.1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-auth-form] 24/26: SLING-2858 - Maven build
fails after upgrading to parent 16: No annotation processors found in
classpath
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.auth.form-1.0.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-auth-form.git
commit 3ec65e639fe71395c5bf27865e2611c7215814d4
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Tue May 7 15:13:05 2013 +0000
SLING-2858 - Maven build fails after upgrading to parent 16: No
annotation processors found in classpath
Add explicit org.apache.felix.scr.annotations dependency where needed.
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/auth/form@1479937 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/pom.xml b/pom.xml
index f11a8b4..b41d10f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -96,6 +96,10 @@
<dependencies>
<dependency>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.scr.annotations</artifactId>
+ </dependency>
+ <dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.auth.core</artifactId>
<version>1.1.0</version>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-auth-form] 20/26: Use latest releases and
update to new parent pom
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.auth.form-1.0.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-auth-form.git
commit 95480900b91ba29431e2951615b5a849fc75ab45
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Sun Dec 23 06:53:35 2012 +0000
Use latest releases and update to new parent pom
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/auth/form@1425425 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index e50f931..2809d50 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
- <version>13</version>
+ <version>14</version>
<relativePath>../../../parent/pom.xml</relativePath>
</parent>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-auth-form] 14/26: SLING-2299 The
checkReferer method has actually been moved to AuthUtil because it was not
contained in a released version of Auth Core bundle yet.
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.auth.form-1.0.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-auth-form.git
commit c09ad3f4e386928a83d4d9c467906152a2601b90
Author: Felix Meschberger <fm...@apache.org>
AuthorDate: Wed Nov 23 15:45:20 2011 +0000
SLING-2299 The checkReferer method has actually been moved to AuthUtil because it was not contained in a released version of Auth Core bundle yet.
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/auth/form@1205458 13f79535-47bb-0310-9956-ffa450edef68
---
.../org/apache/sling/auth/form/impl/FormAuthenticationHandler.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/sling/auth/form/impl/FormAuthenticationHandler.java b/src/main/java/org/apache/sling/auth/form/impl/FormAuthenticationHandler.java
index 4a2fbeb..fb1ce00 100644
--- a/src/main/java/org/apache/sling/auth/form/impl/FormAuthenticationHandler.java
+++ b/src/main/java/org/apache/sling/auth/form/impl/FormAuthenticationHandler.java
@@ -49,6 +49,7 @@ import org.apache.sling.api.resource.LoginException;
import org.apache.sling.api.resource.Resource;
import org.apache.sling.api.resource.ResourceResolver;
import org.apache.sling.api.resource.ResourceResolverFactory;
+import org.apache.sling.auth.core.AuthUtil;
import org.apache.sling.auth.core.spi.AbstractAuthenticationHandler;
import org.apache.sling.auth.core.spi.AuthenticationHandler;
import org.apache.sling.auth.core.spi.AuthenticationInfo;
@@ -354,11 +355,11 @@ public class FormAuthenticationHandler extends AbstractAuthenticationHandler {
}
//check the referer to see if the request is for this handler
- if (!checkReferer(request, loginForm)) {
+ if (!AuthUtil.checkReferer(request, loginForm)) {
//not for this handler, so return
return false;
}
-
+
final String resource = setLoginResourceAttribute(request,
request.getRequestURI());
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-auth-form] 06/26: Update to recent snapshot
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.auth.form-1.0.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-auth-form.git
commit 2cda4c9a7b9a6734f4ca633fe600e04d20cf0c08
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Wed Aug 3 09:01:37 2011 +0000
Update to recent snapshot
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/auth/form@1153397 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 7fc2a1e..4a3d8c0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
- <version>11-SNAPSHOT</version>
+ <version>12-SNAPSHOT</version>
<relativePath>../../../parent/pom.xml</relativePath>
</parent>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-auth-form] 11/26: SLING-2080 Apply patch by
Angela Schreiber (thank you very much)
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.auth.form-1.0.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-auth-form.git
commit e42a6f4f1527e3677c97c4608a50074cf43bf451
Author: Felix Meschberger <fm...@apache.org>
AuthorDate: Mon Nov 7 15:12:49 2011 +0000
SLING-2080 Apply patch by Angela Schreiber (thank you very much)
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/auth/form@1198771 13f79535-47bb-0310-9956-ffa450edef68
---
.../sling/auth/form/impl/AuthenticationFormServlet.java | 1 +
.../sling/auth/form/impl/FormAuthenticationHandler.java | 12 +++++++-----
.../java/org/apache/sling/auth/form/impl/TokenStore.java | 4 ++--
3 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/src/main/java/org/apache/sling/auth/form/impl/AuthenticationFormServlet.java b/src/main/java/org/apache/sling/auth/form/impl/AuthenticationFormServlet.java
index c6def05..b6b89c1 100644
--- a/src/main/java/org/apache/sling/auth/form/impl/AuthenticationFormServlet.java
+++ b/src/main/java/org/apache/sling/auth/form/impl/AuthenticationFormServlet.java
@@ -64,6 +64,7 @@ public class AuthenticationFormServlet extends AbstractAuthenticationFormServlet
* @return The "translated" reason to render the login form or an empty
* string if there is no specific reason
*/
+ @Override
protected String getReason(final HttpServletRequest request) {
// return the resource attribute if set to a non-empty string
Object resObj = request.getAttribute(AuthenticationHandler.FAILURE_REASON);
diff --git a/src/main/java/org/apache/sling/auth/form/impl/FormAuthenticationHandler.java b/src/main/java/org/apache/sling/auth/form/impl/FormAuthenticationHandler.java
index bf15f0b..cb9c72b 100644
--- a/src/main/java/org/apache/sling/auth/form/impl/FormAuthenticationHandler.java
+++ b/src/main/java/org/apache/sling/auth/form/impl/FormAuthenticationHandler.java
@@ -211,7 +211,7 @@ public class FormAuthenticationHandler extends AbstractAuthenticationHandler {
* <p>
* This name is derived from the prescription in the Servlet API 2.4
* Specification, Section SRV.12.5.3.1 Login Form Notes: <i>In order for the
- * authentication to proceeed appropriately, the action of the login form
+ * authentication to proceed appropriately, the action of the login form
* must always be set to <code>j_security_check</code>.</i>
*/
private static final String REQUEST_URL_SUFFIX = "/j_security_check";
@@ -417,6 +417,7 @@ public class FormAuthenticationHandler extends AbstractAuthenticationHandler {
* sure the authentication data is removed either by removing the cookie or
* by remove the HTTP Session attribute.
*/
+ @Override
public void authenticationFailed(HttpServletRequest request,
HttpServletResponse response, AuthenticationInfo authInfo) {
@@ -433,7 +434,7 @@ public class FormAuthenticationHandler extends AbstractAuthenticationHandler {
}
/**
- * Called after successfull login with the given authentication info. This
+ * Called after successful login with the given authentication info. This
* implementation ensures the authentication data is set in either the
* cookie or the HTTP session with the correct security tokens.
* <p>
@@ -445,12 +446,13 @@ public class FormAuthenticationHandler extends AbstractAuthenticationHandler {
* removed from the cookie or the HTTP session and future requests will not
* be authenticated any longer.
*/
+ @Override
public boolean authenticationSucceeded(HttpServletRequest request,
HttpServletResponse response, AuthenticationInfo authInfo) {
/*
* Note: This method is called if this handler provided credentials
- * which succeeded loging into the repository
+ * which succeeded login into the repository
*/
// ensure fresh authentication data
@@ -519,9 +521,9 @@ public class FormAuthenticationHandler extends AbstractAuthenticationHandler {
* <p>
* This method is intended to be called in case authentication succeeded.
*
- * @param request The curent request
+ * @param request The current request
* @param response The current response
- * @param authInfo The authentication info used to successfull log in
+ * @param authInfo The authentication info used to successful log in
*/
private void refreshAuthData(final HttpServletRequest request,
final HttpServletResponse response,
diff --git a/src/main/java/org/apache/sling/auth/form/impl/TokenStore.java b/src/main/java/org/apache/sling/auth/form/impl/TokenStore.java
index ed9b0ac..7d8b1fc 100644
--- a/src/main/java/org/apache/sling/auth/form/impl/TokenStore.java
+++ b/src/main/java/org/apache/sling/auth/form/impl/TokenStore.java
@@ -86,7 +86,7 @@ class TokenStore {
private volatile int currentToken = 0;
/**
- * A ring of tokens used to encypt.
+ * A ring of tokens used to encrypt.
*/
private volatile SecretKey[] currentTokens;
@@ -416,7 +416,7 @@ class TokenStore {
* <code>java.io.tmpdir</code> folder.</li>
* </ul>
* <p>
- * <b>NOTE</b> This method generates entropy fast but not necessairily
+ * <b>NOTE</b> This method generates entropy fast but not necessarily
* secure enough for seeding the random number generator.
*
* @return bytes of entropy
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-auth-form] 02/26: Update to current
snapshots
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.auth.form-1.0.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-auth-form.git
commit 22759001fafffbcb14296669e59f7db164b82bd0
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Wed Dec 15 16:06:34 2010 +0000
Update to current snapshots
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/auth/form@1049623 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 29a6557..31a4043 100644
--- a/pom.xml
+++ b/pom.xml
@@ -98,7 +98,7 @@
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.auth.core</artifactId>
- <version>1.0.4</version>
+ <version>1.0.5-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-auth-form] 05/26: SLING-2150 : Update
plugins to use the latest available versions
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.auth.form-1.0.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-auth-form.git
commit ac004cf57fdc0c0b9bd6bfc3c966dd15f595ac4b
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Wed Jul 20 12:21:40 2011 +0000
SLING-2150 : Update plugins to use the latest available versions
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/auth/form@1148722 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 29a6557..7fc2a1e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
- <version>10</version>
+ <version>11-SNAPSHOT</version>
<relativePath>../../../parent/pom.xml</relativePath>
</parent>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-auth-form] 12/26: SLING-2080 Fix wrong
JavaDoc references (Thanks Angela for reporting)
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.auth.form-1.0.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-auth-form.git
commit e145fd0fb733ea20ed55f1fb5fe97ec0a4698076
Author: Felix Meschberger <fm...@apache.org>
AuthorDate: Mon Nov 7 15:21:09 2011 +0000
SLING-2080 Fix wrong JavaDoc references (Thanks Angela for reporting)
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/auth/form@1198776 13f79535-47bb-0310-9956-ffa450edef68
---
.../auth/form/impl/FormAuthenticationHandler.java | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/main/java/org/apache/sling/auth/form/impl/FormAuthenticationHandler.java b/src/main/java/org/apache/sling/auth/form/impl/FormAuthenticationHandler.java
index cb9c72b..f18616b 100644
--- a/src/main/java/org/apache/sling/auth/form/impl/FormAuthenticationHandler.java
+++ b/src/main/java/org/apache/sling/auth/form/impl/FormAuthenticationHandler.java
@@ -463,7 +463,7 @@ public class FormAuthenticationHandler extends AbstractAuthenticationHandler {
// to the j_security_check URL
if (REQUEST_METHOD.equals(request.getMethod())
&& request.getRequestURI().endsWith(REQUEST_URL_SUFFIX)) {
-
+
if (DefaultAuthenticationFeedbackHandler.handleRedirect(request, response)) {
// terminate request, all done in the default handler
result = false;
@@ -809,11 +809,11 @@ public class FormAuthenticationHandler extends AbstractAuthenticationHandler {
/**
* The <code>AuthenticationStorage</code> interface abstracts the API
- * required to store the {@link CookieAuthData} in an HTTP cookie or in an
- * HTTP Session. The concrete class -- {@link CookieExtractor} or
- * {@link SessionExtractor} -- is selected using the
- * {@link CookieAuthenticationHandler#PAR_AUTH_HASH_STORAGE} configuration
- * parameter, {@link CookieExtractor} by default.
+ * required to store the authentication data in an HTTP cookie or in an
+ * HTTP Session. The concrete class -- {@link CookieStorage} or
+ * {@link SessionStorage} -- is selected using the
+ * {@link FormAuthenticationHandler#PAR_AUTH_STORAGE} configuration
+ * parameter, {@link CookieStorage} by default.
*/
private static interface AuthenticationStorage {
String extractAuthenticationInfo(HttpServletRequest request);
@@ -825,8 +825,8 @@ public class FormAuthenticationHandler extends AbstractAuthenticationHandler {
}
/**
- * The <code>CookieExtractor</code> class supports storing the
- * {@link CookieAuthData} in an HTTP Cookie.
+ * The <code>CookieStorage</code> class supports storing the
+ * authentication data in an HTTP Cookie.
*/
private static class CookieStorage implements AuthenticationStorage {
@@ -965,8 +965,8 @@ public class FormAuthenticationHandler extends AbstractAuthenticationHandler {
}
/**
- * The <code>SessionExtractor</code> class provides support to store the
- * {@link CookieAuthData} in an HTTP Session.
+ * The <code>SessionStorage</code> class provides support to store the
+ * authentication data in an HTTP Session.
*/
private static class SessionStorage implements AuthenticationStorage {
private final String sessionAttributeName;
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-auth-form] 21/26: Update to latest parent
pom and use latest releases in launchpad
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.auth.form-1.0.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-auth-form.git
commit 0ee728f0f5fa7266cd8042ac3bcdf23c9fca90f6
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Mon Feb 18 08:38:52 2013 +0000
Update to latest parent pom and use latest releases in launchpad
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/auth/form@1447147 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 2809d50..88f3f9e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
- <version>14</version>
+ <version>15</version>
<relativePath>../../../parent/pom.xml</relativePath>
</parent>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-auth-form] 09/26: temporarily using
snapshots during release vote
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.auth.form-1.0.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-auth-form.git
commit 5a0790ceefe9eca9fe20cbc793da4f026fd61ee3
Author: Justin Edelson <ju...@apache.org>
AuthorDate: Wed Aug 31 20:10:55 2011 +0000
temporarily using snapshots during release vote
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/auth/form@1163785 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 4a3d8c0..bb92476 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
- <version>12-SNAPSHOT</version>
+ <version>13-SNAPSHOT</version>
<relativePath>../../../parent/pom.xml</relativePath>
</parent>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-auth-form] 17/26: SLING-2483 Update
jackrabbit.server and jcr.base dependencies and add JCR API dependency to
prevent the new bundle plugin to generate a too restrictive import for the
JCR API (2.0 is backwards compatible with 1.0)
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.auth.form-1.0.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-auth-form.git
commit 741517c2e14fec59f47cd81875086ae23077ac9e
Author: Felix Meschberger <fm...@apache.org>
AuthorDate: Sat May 19 09:46:55 2012 +0000
SLING-2483 Update jackrabbit.server and jcr.base dependencies and add JCR API dependency to prevent the new bundle plugin to generate a too restrictive import for the JCR API (2.0 is backwards compatible with 1.0)
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/auth/form@1340393 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index e7ba9c2..b66da6c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -102,9 +102,13 @@
<scope>provided</scope>
</dependency>
<dependency>
+ <groupId>javax.jcr</groupId>
+ <artifactId>jcr</artifactId>
+ </dependency>
+ <dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.jcr.jackrabbit.server</artifactId>
- <version>2.0.4-incubator</version>
+ <version>2.0.6</version>
<scope>provided</scope>
</dependency>
<dependency>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-auth-form] 01/26: [maven-release-plugin]
prepare for next development iteration
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.auth.form-1.0.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-auth-form.git
commit b472e70047792078ffcf7290dd509eac94860346
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Wed Dec 15 15:52:44 2010 +0000
[maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/auth/form@1049611 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/pom.xml b/pom.xml
index 21779bb..29a6557 100644
--- a/pom.xml
+++ b/pom.xml
@@ -26,7 +26,7 @@
</parent>
<artifactId>org.apache.sling.auth.form</artifactId>
- <version>1.0.2</version>
+ <version>1.0.3-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>Apache Sling Form Based Authentication Handler</name>
@@ -43,9 +43,9 @@
</properties>
<scm>
- <connection>scm:svn:http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.auth.form-1.0.2</connection>
- <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.auth.form-1.0.2</developerConnection>
- <url>http://svn.apache.org/viewvc/sling/tags/org.apache.sling.auth.form-1.0.2</url>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/sling/trunk/bundles/auth/form</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/trunk/bundles/auth/form</developerConnection>
+ <url>http://svn.apache.org/viewvc/sling/trunk/bundles/auth/form</url>
</scm>
<build>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.