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

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

There is a newer version: 2.0.7
Show newest version
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