package org.apereo.cas.support.spnego;

import java.security.Principal;

/**
 * @author Marc-Antoine Garrigue
 * @author Arnaud Lesueur
 * @since 3.1
 */
public class MockPrincipal implements Principal {

    private String principal;

    public MockPrincipal(final String principal) {
        super();
        this.principal = principal;
    }

    @Override
    public String getName() {
        return this.principal;
    }

}
