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 2010/02/20 17:46:47 UTC

svn commit: r912146 - /incubator/shiro/trunk/core/src/main/java/org/apache/shiro/subject/DelegatingSubject.java

Author: lhazlewood
Date: Sat Feb 20 16:46:46 2010
New Revision: 912146

URL: http://svn.apache.org/viewvc?rev=912146&view=rev
Log:
Triggering dummy commit to force hudson to build.  Hudson is failing but both windows and mac environments are building fine - trying to see if it was merely an environmental issue in the Hudson environment.

Modified:
    incubator/shiro/trunk/core/src/main/java/org/apache/shiro/subject/DelegatingSubject.java

Modified: incubator/shiro/trunk/core/src/main/java/org/apache/shiro/subject/DelegatingSubject.java
URL: http://svn.apache.org/viewvc/incubator/shiro/trunk/core/src/main/java/org/apache/shiro/subject/DelegatingSubject.java?rev=912146&r1=912145&r2=912146&view=diff
==============================================================================
--- incubator/shiro/trunk/core/src/main/java/org/apache/shiro/subject/DelegatingSubject.java (original)
+++ incubator/shiro/trunk/core/src/main/java/org/apache/shiro/subject/DelegatingSubject.java Sat Feb 20 16:46:46 2010
@@ -375,10 +375,12 @@
         }
     }
 
+
     // ======================================
     // 'Run As' support implementations
     // ======================================
     //TODO - WORK IN PROGRESS - DO NOT USE
+
     public void assumeIdentity(Subject subject) {
         if (subject == null) {
             throw new NullPointerException("Subject argument cannot be null.");
@@ -391,26 +393,31 @@
     }
 
     //TODO - WORK IN PROGRESS - DO NOT USE
+
     public boolean isAssumedIdentity() {
         return !CollectionUtils.isEmpty(this.assumedIdentities);
     }
 
     //TODO - WORK IN PROGRESS - DO NOT USE
+
     public Object getOriginalPrincipal() {
         return getPrimaryPrincipal(this.principals);
     }
 
     //TODO - WORK IN PROGRESS - DO NOT USE
+
     public PrincipalCollection getOriginalPrincipals() {
         return this.principals;
     }
 
     //TODO - WORK IN PROGRESS - DO NOT USE
+
     public void releaseAssumedIdentity() {
         popIdentity();
     }
 
     //TODO - WORK IN PROGRESS - DO NOT USE
+
     protected List<PrincipalCollection> getAssumedIdentities(Session session) {
         if (session != null) {
             //noinspection unchecked
@@ -420,6 +427,7 @@
     }
 
     //TODO - WORK IN PROGRESS - DO NOT USE
+
     protected void pushIdentity(PrincipalCollection principals) {
         if (this.assumedIdentities == null) {
             this.assumedIdentities = new ArrayList<PrincipalCollection>();
@@ -430,6 +438,7 @@
     }
 
     //TODO - WORK IN PROGRESS - DO NOT USE
+
     protected PrincipalCollection popIdentity() {
         PrincipalCollection popped = null;
         if (!CollectionUtils.isEmpty(this.assumedIdentities)) {