Apache Sling Form Based Authentication Handler.
Bundle implementing form based authentication with login and logout support. Authentication state is maintained in a Cookie or in an HTTP Session. The password is only submitted when first authenticating..
Here is the list of declaration for org.apache.sling.auth.form. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.auth.form</artifactId> <version>1.0.0</version> </dependency>
If you think this Maven repository POM file listing for org.apache.sling.auth.form is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Apache License.
The org.apache.sling.auth.form-1.0.0 has 6 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
Http | org.apache.sling.auth.core 1.0.0 The Sling Authentication Service bundle provides the basic mechanisms to authenticate HTTP requests with a JCR repository. The algorithms for extracting authentication details from the requests is extensible by implementing an AuthenticationHandler interface. | 5 |
Servlet | org.apache.sling.api 2.1.0 The Apache Sling API defines an extension to the Servlet API 2.4 to provide access to content and unified access to request parameters hiding the differences between the different methods of transferring parameters from client to server. Note that the Apache Sling AP... | 17 |
OSGi | org.apache.sling.commons.osgi 2.0.2-incubator Commons OSGi | 16 |
Data Structure | commons-codec 1.4 The codec package contains simple encoder and decoders for various formats such as Base64 and Hexadecimal. In addition to these widely used encoders and decoders, the codec package also maintains a collection of phonetic encoding utilities. | 248 |
Data Structure | commons-lang 2.4 Commons Lang, a package of Java utility classes for the classes that are in java.lang's hierarchy, or are considered to be so standard as to justify existence in java.lang. | 630 |
The following plugins are used in the org.apache.sling.auth.form-1.0.0.jar
The following packages are defined in the org.apache.sling.auth.form-1.0.0.jar
org.apache.commons.codec org.apache.commons.codec.binary org.apache.commons.lang org.apache.sling.auth.form org.apache.sling.auth.form.impl org.apache.sling.commons.osgi
Here is the content of the POM file.
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache.sling</groupId> <artifactId>sling</artifactId> <version>9</version> <relativePath>../../../parent/pom.xml</relativePath> </parent> <artifactId>org.apache.sling.auth.form</artifactId> <version>1.0.0</version> <packaging>bundle</packaging> <name>Apache Sling Form Based Authentication Handler</name> <description> Bundle implementing form based authentication with login and logout support. Authentication state is maintained in a Cookie or in an HTTP Session. The password is only submitted when first authenticating. </description> <properties> <site.jira.version.id>12314785</site.jira.version.id> <site.javadoc.exclude>**.impl.**</site.javadoc.exclude> </properties> <scm> <connection>scm:svn:http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.auth.form-1.0.0</connection> <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.auth.form-1.0.0</developerConnection> <url>http://svn.apache.org/viewvc/sling/tags/org.apache.sling.auth.form-1.0.0</url> </scm> <build> <plugins> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-scr-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <extensions>true</extensions> <configuration> <instructions> <Bundle-DocURL> http://sling.apache.org/site/form-based-authenticationhandler.html </Bundle-DocURL> <Export-Package> org.apache.sling.auth.form;version=1.0 </Export-Package> <Private-Package> org.apache.sling.auth.form.impl.* </Private-Package> <Import-Package> javax.security.auth.callback; javax.security.auth.login; org.apache.sling.jcr.jackrabbit.server.security; resolution:=optional, * </Import-Package> <Embed-Dependency> org.apache.sling.commons.osgi;inline="org/apache/sling/commons/osgi/OsgiUtil.*", commons-lang;inline="org/apache/commons/lang/StringUtils.class", commons-codec;inline="org/apache/commons/codec/binary/Base64.* |org/apache/commons/codec/binary/Hex* |org/apache/commons/codec/binary/StringUtils* |org/apache/commons/codec/BinaryEncoder* |org/apache/commons/codec/BinaryDecoder* |org/apache/commons/codec/Encoder* |org/apache/commons/codec/Decoder* |org/apache/commons/codec/EncoderException* |org/apache/commons/codec/DecoderException*" </Embed-Dependency> </instructions> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.auth.core</artifactId> <version>1.0.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.jcr.jackrabbit.server</artifactId> <version>2.0.4-incubator</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.api</artifactId> <version>2.1.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.core</artifactId> </dependency> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.compendium</artifactId> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </dependency> <!-- Embedded Dependencies --> <dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.commons.osgi</artifactId> <version>2.0.2-incubator</version> <scope>provided</scope> </dependency> <dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> <version>1.4</version> <scope>provided</scope> </dependency> <dependency> <groupId>commons-lang</groupId> <artifactId>commons-lang</artifactId> <version>2.4</version> <scope>provided</scope> </dependency> <!-- Test Dependencies --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> </dependency> <dependency> <groupId>org.jmock</groupId> <artifactId>jmock-junit4</artifactId> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> </dependency> </dependencies> </project>