All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mockrunner.mock.web.MockUserPrincipal Maven / Gradle / Ivy

package com.mockrunner.mock.web;

import java.security.Principal;

/**
 * Mock implementation of Principal.
 */
public class MockUserPrincipal implements Principal
{
    private String mName;

    public MockUserPrincipal(String name)
    {
        mName = name;
    }
    
    public String getName()
    {
        return mName;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy