KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > roller > presentation > MockPrincipal


1 /*
2  * Created on Mar 8, 2004
3  */

4 package org.roller.presentation;
5
6 public class MockPrincipal implements java.security.Principal JavaDoc
7 {
8     String JavaDoc mName;
9     public MockPrincipal(String JavaDoc name)
10     {
11         mName = name;
12     }
13     public String JavaDoc getName()
14     {
15         return mName;
16     }
17 }
Popular Tags