Clover Coverage Report - KS Common 1.1-SNAPSHOT (Aggregated)
Coverage timestamp: Thu Mar 3 2011 04:37:11 EST
../../../../../../../img/srcFileCovDistChart0.png 54% of files have more coverage
1   37   1   1
0   10   1   1
1     1  
1    
 
  SecurityRpcGwtServlet       Line # 29 1 0% 1 2 0% 0.0
 
No Tests
 
1    /**
2    * Copyright 2010 The Kuali Foundation Licensed under the
3    * Educational Community License, Version 2.0 (the "License"); you may
4    * not use this file except in compliance with the License. You may
5    * obtain a copy of the License at
6    *
7    * http://www.osedu.org/licenses/ECL-2.0
8    *
9    * Unless required by applicable law or agreed to in writing,
10    * software distributed under the License is distributed on an "AS IS"
11    * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12    * or implied. See the License for the specific language governing
13    * permissions and limitations under the License.
14    */
15   
16    package org.kuali.student.common.ui.server.gwt;
17   
18    import org.kuali.student.common.ui.client.service.SecurityRpcService;
19    import org.kuali.student.common.util.security.SecurityUtils;
20   
21    import com.google.gwt.user.server.rpc.RemoteServiceServlet;
22   
23    /**
24    * This is a description of what this class does - Will Gomes don't forget to fill this in.
25    *
26    * @author Kuali Student Team
27    *
28    */
 
29    public class SecurityRpcGwtServlet extends RemoteServiceServlet implements SecurityRpcService{
30   
31    private static final long serialVersionUID = 1L;
32   
 
33  0 toggle public String getPrincipalUsername(){
34  0 return SecurityUtils.getPrincipalUserName();
35    }
36   
37    }