1 /*
2 * To change this license header, choose License Headers in Project Properties.
3 * To change this template file, choose Tools | Templates
4 * and open the template in the editor.
5 */
6 package org.miloss.fgsms.test;
7
8 import java.security.Principal;
9
10 /**
11 *
12 * @author alex
13 */
14 class SimplePrincipal implements Principal {
15
16 String name;
17 public SimplePrincipal(String uname) {
18 name=uname;
19 }
20
21 @Override
22 public String getName() {
23 return name;
24 }
25
26 }