eXo WS :: HTTP :: testframework 2.4.0-Alpha2

org.exoplatform.services.test.mock
Class MockPrincipal

java.lang.Object
  extended by org.exoplatform.services.test.mock.MockPrincipal
All Implemented Interfaces:
Principal

public class MockPrincipal
extends Object
implements Principal

Author:
Mestrallet Benjamin benjmestrallet@users.sourceforge.net

Constructor Summary
MockPrincipal(String username)
           
 
Method Summary
 String getName()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.security.Principal
equals, hashCode, toString
 

Constructor Detail

MockPrincipal

public MockPrincipal(String username)
Method Detail

getName

public String getName()

Specified by:
getName in interface Principal

eXo WS :: HTTP :: testframework 2.4.0-Alpha2

Copyright © 2013 eXo Platform SAS. All Rights Reserved.