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

com.hp.autonomy.frontend.configuration.authentication.CommunityPrincipal Maven / Gradle / Ivy

There is a newer version: 1.3.0
Show newest version
/*
 * Copyright 2014-2015 Hewlett-Packard Development Company, L.P.
 * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License.
 */

package com.hp.autonomy.frontend.configuration.authentication;

import lombok.Data;

import java.io.Serializable;
import java.security.Principal;

@SuppressWarnings("WeakerAccess")
@Data
public class CommunityPrincipal implements Principal, Serializable {
    private static final long serialVersionUID = -8625590848187633506L;

    private final long id;
    private final String username;
    private final String securityInfo;

    @Override
    public String getName() {
        return username;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy