You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by lh...@apache.org on 2009/10/09 23:10:39 UTC
svn commit: r823688 - in
/incubator/shiro/trunk/core/src/main/java/org/apache/shiro/subject:
PrincipalCollection.java Subject.java
Author: lhazlewood
Date: Fri Oct 9 21:10:38 2009
New Revision: 823688
URL: http://svn.apache.org/viewvc?rev=823688&view=rev
Log:
Fixed typos
Modified:
incubator/shiro/trunk/core/src/main/java/org/apache/shiro/subject/PrincipalCollection.java
incubator/shiro/trunk/core/src/main/java/org/apache/shiro/subject/Subject.java
Modified: incubator/shiro/trunk/core/src/main/java/org/apache/shiro/subject/PrincipalCollection.java
URL: http://svn.apache.org/viewvc/incubator/shiro/trunk/core/src/main/java/org/apache/shiro/subject/PrincipalCollection.java?rev=823688&r1=823687&r2=823688&view=diff
==============================================================================
--- incubator/shiro/trunk/core/src/main/java/org/apache/shiro/subject/PrincipalCollection.java (original)
+++ incubator/shiro/trunk/core/src/main/java/org/apache/shiro/subject/PrincipalCollection.java Fri Oct 9 21:10:38 2009
@@ -41,7 +41,7 @@
public interface PrincipalCollection extends Iterable, Serializable {
/**
- * Returns the primary principal used to uniquely identify the owning account/Subject.
+ * Returns the primary principal used application-wide to uniquely identify the owning account/Subject.
* <p/>
* The value is usually always a uniquely identifying attribute specific to the data source that retrieved the
* account data. Some examples:
Modified: incubator/shiro/trunk/core/src/main/java/org/apache/shiro/subject/Subject.java
URL: http://svn.apache.org/viewvc/incubator/shiro/trunk/core/src/main/java/org/apache/shiro/subject/Subject.java?rev=823688&r1=823687&r2=823688&view=diff
==============================================================================
--- incubator/shiro/trunk/core/src/main/java/org/apache/shiro/subject/Subject.java (original)
+++ incubator/shiro/trunk/core/src/main/java/org/apache/shiro/subject/Subject.java Fri Oct 9 21:10:38 2009
@@ -63,7 +63,7 @@
public interface Subject {
/**
- * Returns this Subject's uniquely-identifying principal, or {@code null} if this
+ * Returns this Subject's application-wide uniquely identifying principal, or {@code null} if this
* Subject doesn't yet have account data associated with it (for example, if they haven't logged in).
* <p/>
* The term <em>principal</em> is just a fancy security term for any identifying attribute(s) of an application
@@ -490,7 +490,7 @@
* <code>Subject.{@link #Builder(org.apache.shiro.mgt.SecurityManager) Builder(securityManager)}</code>
* constructor if desired.
* <p/>
- * All other methods may be called before {@link #buildSubject() buildSubject()} call to
+ * All other methods may be called before the {@link #buildSubject() buildSubject()} method to
* provide context on how to construct the {@code Subject} instance. For example, if you have a session id and
* want to acquire the {@code Subject} that 'owns' that session (assuming the session exists and is not expired):
* <pre>
@@ -520,7 +520,7 @@
/**
* The SecurityManager to invoke during the {@link #buildSubject} call.
*/
- private final org.apache.shiro.mgt.SecurityManager securityManager;
+ private final SecurityManager securityManager;
/**
* Constructs a new {@link Subject.Builder} instance, using the {@code SecurityManager} instance available