KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > test > mocks > servlet > MockPrincipal


1 package org.exoplatform.test.mocks.servlet;
2 /*
3  * Copyright 2001-2003 The eXo platform SARL All rights reserved.
4  * Please look at license.txt in info directory for more license detail.
5  *
6  * Created on 21 nov. 2003
7  */

8 /**
9  * @author Mestrallet Benjamin
10  * benjmestrallet@users.sourceforge.net
11  *
12  */

13 public class MockPrincipal implements java.security.Principal JavaDoc{
14
15   /*
16    * @see java.security.Principal#getName()
17    */

18   public String JavaDoc getName() {
19     return "PrincipalMackName";
20   }
21
22 }
23
Popular Tags