com.mockrunner.mock.web
Class MockUserPrincipal

java.lang.Object
  extended by com.mockrunner.mock.web.MockUserPrincipal
All Implemented Interfaces:
java.security.Principal

public class MockUserPrincipal
extends java.lang.Object
implements java.security.Principal

Mock implementation of Principal.


Constructor Summary
MockUserPrincipal(java.lang.String name)
           
 
Method Summary
 java.lang.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

MockUserPrincipal

public MockUserPrincipal(java.lang.String name)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface java.security.Principal