shiro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lhazlew...@apache.org
Subject svn commit: r731316 [2/2] - in /incubator/jsecurity/trunk: ./ core/ core/src/ core/src/org/ core/src/org/jsecurity/ core/src/org/jsecurity/aop/ core/src/org/jsecurity/authc/ core/src/org/jsecurity/authc/credential/ core/src/org/jsecurity/authc/pam/ cor...
Date Sun, 04 Jan 2009 18:35:53 GMT
Added: incubator/jsecurity/trunk/core/src/org/jsecurity/realm/jdbc/package-info.java
URL: http://svn.apache.org/viewvc/incubator/jsecurity/trunk/core/src/org/jsecurity/realm/jdbc/package-info.java?rev=731316&view=auto
==============================================================================
--- incubator/jsecurity/trunk/core/src/org/jsecurity/realm/jdbc/package-info.java (added)
+++ incubator/jsecurity/trunk/core/src/org/jsecurity/realm/jdbc/package-info.java Sun Jan
 4 10:35:45 2009
@@ -0,0 +1,23 @@
+/*
+ * 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.
+ */
+/**
+ * Realms that acquire security data from an RDBMS (Relational Database Management System)
using the 
+ * JDBC API.
+ */
+package org.jsecurity.realm.jdbc;
\ No newline at end of file

Added: incubator/jsecurity/trunk/core/src/org/jsecurity/realm/jndi/package-info.java
URL: http://svn.apache.org/viewvc/incubator/jsecurity/trunk/core/src/org/jsecurity/realm/jndi/package-info.java?rev=731316&view=auto
==============================================================================
--- incubator/jsecurity/trunk/core/src/org/jsecurity/realm/jndi/package-info.java (added)
+++ incubator/jsecurity/trunk/core/src/org/jsecurity/realm/jndi/package-info.java Sun Jan
 4 10:35:45 2009
@@ -0,0 +1,21 @@
+/*
+ * 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.
+ */
+/**
+ * Support for acquiring Realms from JNDI, particularly useful for configuring JSecurity
in JEE or EJB environments. */
+package org.jsecurity.realm.jndi;
\ No newline at end of file

Added: incubator/jsecurity/trunk/core/src/org/jsecurity/realm/ldap/package-info.java
URL: http://svn.apache.org/viewvc/incubator/jsecurity/trunk/core/src/org/jsecurity/realm/ldap/package-info.java?rev=731316&view=auto
==============================================================================
--- incubator/jsecurity/trunk/core/src/org/jsecurity/realm/ldap/package-info.java (added)
+++ incubator/jsecurity/trunk/core/src/org/jsecurity/realm/ldap/package-info.java Sun Jan
 4 10:35:45 2009
@@ -0,0 +1,23 @@
+/*
+ * 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.
+ */
+/**
+ * Realms that acquire security data from an LDAP (Lightweight Directory Access Protocol)
server
+ * utilizing LDAP/Naming APIs.
+ */
+package org.jsecurity.realm.ldap;
\ No newline at end of file

Added: incubator/jsecurity/trunk/core/src/org/jsecurity/realm/package-info.java
URL: http://svn.apache.org/viewvc/incubator/jsecurity/trunk/core/src/org/jsecurity/realm/package-info.java?rev=731316&view=auto
==============================================================================
--- incubator/jsecurity/trunk/core/src/org/jsecurity/realm/package-info.java (added)
+++ incubator/jsecurity/trunk/core/src/org/jsecurity/realm/package-info.java Sun Jan  4 10:35:45
2009
@@ -0,0 +1,25 @@
+/*
+ * 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.
+ */
+/**
+ * Components and sub-packages used in supporting the core {@link org.jsecurity.realm.Realm
Realm} interface.
+ * <p/>
+ * Take particular note of the multiple sub-packages with existing Realm implementations
supporting many
+ * environments that you can use use directly or extend for custom behavior.
+ */
+package org.jsecurity.realm;
\ No newline at end of file

Added: incubator/jsecurity/trunk/core/src/org/jsecurity/realm/text/package-info.java
URL: http://svn.apache.org/viewvc/incubator/jsecurity/trunk/core/src/org/jsecurity/realm/text/package-info.java?rev=731316&view=auto
==============================================================================
--- incubator/jsecurity/trunk/core/src/org/jsecurity/realm/text/package-info.java (added)
+++ incubator/jsecurity/trunk/core/src/org/jsecurity/realm/text/package-info.java Sun Jan
 4 10:35:45 2009
@@ -0,0 +1,23 @@
+/*
+ * 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.
+ */
+/**
+ * Realms that acquire security data from text-based data sources such as <code>File</code>s
or
+ * text streams.
+ */
+package org.jsecurity.realm.text;
\ No newline at end of file

Added: incubator/jsecurity/trunk/core/src/org/jsecurity/session/mgt/eis/package-info.java
URL: http://svn.apache.org/viewvc/incubator/jsecurity/trunk/core/src/org/jsecurity/session/mgt/eis/package-info.java?rev=731316&view=auto
==============================================================================
--- incubator/jsecurity/trunk/core/src/org/jsecurity/session/mgt/eis/package-info.java (added)
+++ incubator/jsecurity/trunk/core/src/org/jsecurity/session/mgt/eis/package-info.java Sun
Jan  4 10:35:45 2009
@@ -0,0 +1,23 @@
+/*
+ * 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.
+ */
+/**
+ * EIS (Enterprise Information System)-tier components that can perform CRUD operations for
sessions
+ * using any EIS API.
+ */
+package org.jsecurity.session.mgt.eis;
\ No newline at end of file

Added: incubator/jsecurity/trunk/core/src/org/jsecurity/session/mgt/package-info.java
URL: http://svn.apache.org/viewvc/incubator/jsecurity/trunk/core/src/org/jsecurity/session/mgt/package-info.java?rev=731316&view=auto
==============================================================================
--- incubator/jsecurity/trunk/core/src/org/jsecurity/session/mgt/package-info.java (added)
+++ incubator/jsecurity/trunk/core/src/org/jsecurity/session/mgt/package-info.java Sun Jan
 4 10:35:45 2009
@@ -0,0 +1,22 @@
+/*
+ * 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.
+ */
+/**
+ * {@link org.jsecurity.session.mgt.SessionManager SessionManager} components supporting
enterprise session management.
+ */
+package org.jsecurity.session.mgt;
\ No newline at end of file

Added: incubator/jsecurity/trunk/core/src/org/jsecurity/session/package-info.java
URL: http://svn.apache.org/viewvc/incubator/jsecurity/trunk/core/src/org/jsecurity/session/package-info.java?rev=731316&view=auto
==============================================================================
--- incubator/jsecurity/trunk/core/src/org/jsecurity/session/package-info.java (added)
+++ incubator/jsecurity/trunk/core/src/org/jsecurity/session/package-info.java Sun Jan  4
10:35:45 2009
@@ -0,0 +1,36 @@
+/*
+ * 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.
+ */
+/**
+ * Components related to managing sessions, the time-based data contexts in which a Subject
+ * interacts with an application.
+ * <p/>
+ * Sessions in JSecurity are completely POJO-based and do not <em>require</em>
an application to use Web-based
+ * or EJB-based session management infrastructure - the client and/or server technoloy is
irrelevent in
+ * JSecurity's architecture, allowing session management to be employed in the smallest standalone
application
+ * to the largest enterprise deployments.
+ * <p/>
+ * This design decision opens up a new world to Java applications - most notably the ability
to participate in
+ * a session regardless if the client is using HTTP, custom sockets, web services, or even
non-Java progamming
+ * languages. Aside from JSecurity, there is currently no technology in Java today allows
this heterogenous 
+ * client-session capability.
+ * <p/>
+ * Also because of this freedom, JSecurity naturally supports Single Sign-On for any application
as well, using
+ * this heterogeneous session support.
+ */
+package org.jsecurity.session;
\ No newline at end of file

Added: incubator/jsecurity/trunk/core/src/org/jsecurity/subject/package-info.java
URL: http://svn.apache.org/viewvc/incubator/jsecurity/trunk/core/src/org/jsecurity/subject/package-info.java?rev=731316&view=auto
==============================================================================
--- incubator/jsecurity/trunk/core/src/org/jsecurity/subject/package-info.java (added)
+++ incubator/jsecurity/trunk/core/src/org/jsecurity/subject/package-info.java Sun Jan  4
10:35:45 2009
@@ -0,0 +1,27 @@
+/*
+ * 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.
+ */
+/**
+ * Components supporting the {@link org.jsecurity.subject.Subject Subject} interface, the
most important concept in
+ * JSecurity's API.
+ * <p/>
+ * A <code>Subject</code> is <em>the</em> primary component when
using JSecurity programatically for single-user
+ * security operations, and it is the handle to any accessible user security data.  All single-user
+ * authentication, authorization and session operations are performed via a <code>Subject</code>
instance.
+ */
+package org.jsecurity.subject;
\ No newline at end of file

Added: incubator/jsecurity/trunk/core/src/org/jsecurity/util/package-info.java
URL: http://svn.apache.org/viewvc/incubator/jsecurity/trunk/core/src/org/jsecurity/util/package-info.java?rev=731316&view=auto
==============================================================================
--- incubator/jsecurity/trunk/core/src/org/jsecurity/util/package-info.java (added)
+++ incubator/jsecurity/trunk/core/src/org/jsecurity/util/package-info.java Sun Jan  4 10:35:45
2009
@@ -0,0 +1,23 @@
+/*
+ * 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.
+ */
+/**
+ * Your run-of-the-mill 'util' pacakge for components and logic widely used across the framework
that can't
+ * find their home into a proper OO hierarchy (or, most likely for things used across many
hierarchies).
+ */
+package org.jsecurity.util;
\ No newline at end of file

Modified: incubator/jsecurity/trunk/jsecurity.iml
URL: http://svn.apache.org/viewvc/incubator/jsecurity/trunk/jsecurity.iml?rev=731316&r1=731315&r2=731316&view=diff
==============================================================================
--- incubator/jsecurity/trunk/jsecurity.iml (original)
+++ incubator/jsecurity/trunk/jsecurity.iml Sun Jan  4 10:35:45 2009
@@ -55,16 +55,21 @@
     <output url="file://$MODULE_DIR$/build/classes" />
     <exclude-output />
     <content url="file://$MODULE_DIR$">
+      <sourceFolder url="file://$MODULE_DIR$/core/src" isTestSource="false" />
+      <sourceFolder url="file://$MODULE_DIR$/core/test" isTestSource="true" />
+      <sourceFolder url="file://$MODULE_DIR$/samples/quickstart/src" isTestSource="false"
/>
       <sourceFolder url="file://$MODULE_DIR$/samples/spring-hibernate/WEB-INF/classes"
isTestSource="false" />
       <sourceFolder url="file://$MODULE_DIR$/samples/spring-hibernate/src" isTestSource="false"
/>
       <sourceFolder url="file://$MODULE_DIR$/samples/spring/etc" isTestSource="false"
/>
       <sourceFolder url="file://$MODULE_DIR$/samples/spring/src" isTestSource="false"
/>
+      <sourceFolder url="file://$MODULE_DIR$/samples/standalone/src" isTestSource="false"
/>
       <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
       <sourceFolder url="file://$MODULE_DIR$/support/ehcache/src" isTestSource="false"
/>
       <sourceFolder url="file://$MODULE_DIR$/support/quartz/src" isTestSource="false"
/>
       <sourceFolder url="file://$MODULE_DIR$/support/spring/src" isTestSource="false"
/>
       <sourceFolder url="file://$MODULE_DIR$/support/spring/test" isTestSource="true"
/>
-      <sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
+      <sourceFolder url="file://$MODULE_DIR$/web/src" isTestSource="false" />
+      <sourceFolder url="file://$MODULE_DIR$/web/test" isTestSource="true" />
       <excludeFolder url="file://$MODULE_DIR$/build" />
     </content>
     <orderEntry type="inheritedJdk" />

Modified: incubator/jsecurity/trunk/web/test/org/jsecurity/web/WebRememberMeManagerTest.java
URL: http://svn.apache.org/viewvc/incubator/jsecurity/trunk/web/test/org/jsecurity/web/WebRememberMeManagerTest.java?rev=731316&r1=731297&r2=731316&view=diff
==============================================================================
--- incubator/jsecurity/trunk/web/test/org/jsecurity/web/WebRememberMeManagerTest.java (original)
+++ incubator/jsecurity/trunk/web/test/org/jsecurity/web/WebRememberMeManagerTest.java Sun
Jan  4 10:35:45 2009
@@ -24,7 +24,7 @@
 import org.jsecurity.authc.UsernamePasswordToken;
 import org.jsecurity.subject.PrincipalCollection;
 import org.jsecurity.subject.SimplePrincipalCollection;
-import static org.junit.Assert.*;
+import static org.junit.Assert.assertTrue;
 import org.junit.Test;
 
 import javax.servlet.http.Cookie;



Mime
View raw message