You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by bd...@apache.org on 2018/05/02 15:07:16 UTC

[3/3] shiro git commit: Fixing license header and added note in NonIniWebSecuritymanagerTest referencing the JIRA

Fixing license header and added note in NonIniWebSecuritymanagerTest referencing the JIRA

Fixes: SHIRO-646
Fixes: *82


Project: http://git-wip-us.apache.org/repos/asf/shiro/repo
Commit: http://git-wip-us.apache.org/repos/asf/shiro/commit/76416edf
Tree: http://git-wip-us.apache.org/repos/asf/shiro/tree/76416edf
Diff: http://git-wip-us.apache.org/repos/asf/shiro/diff/76416edf

Branch: refs/heads/master
Commit: 76416edfbb4cb82560ab08870c81230c0fa64907
Parents: 15cfa05
Author: Brian Demers <bd...@apache.org>
Authored: Wed May 2 11:02:26 2018 -0400
Committer: Brian Demers <bd...@apache.org>
Committed: Wed May 2 11:04:45 2018 -0400

----------------------------------------------------------------------
 .../web/mgt/NonIniWebSecurityManagerTest.java   | 24 ++++++++++++++++----
 1 file changed, 20 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/shiro/blob/76416edf/web/src/test/java/org/apache/shiro/web/mgt/NonIniWebSecurityManagerTest.java
----------------------------------------------------------------------
diff --git a/web/src/test/java/org/apache/shiro/web/mgt/NonIniWebSecurityManagerTest.java b/web/src/test/java/org/apache/shiro/web/mgt/NonIniWebSecurityManagerTest.java
index 536806b..dfc3e03 100644
--- a/web/src/test/java/org/apache/shiro/web/mgt/NonIniWebSecurityManagerTest.java
+++ b/web/src/test/java/org/apache/shiro/web/mgt/NonIniWebSecurityManagerTest.java
@@ -1,7 +1,20 @@
 /*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
+ * 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.
  */
 package org.apache.shiro.web.mgt;
 
@@ -31,7 +44,10 @@ public class NonIniWebSecurityManagerTest extends AbstractWebSecurityManagerTest
         sm.destroy();
         super.tearDown();
     }
-    
+
+    /**
+     * Test for SHIRO-646: Unable to login a DelegatingSubject on a DefaultWebSecurityManager.
+     */
     @Test
     public void testLoginNonWebSubject(){
         Subject.Builder builder = new Subject.Builder(sm);