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

com.enonic.xp.security.EditableIdProvider Maven / Gradle / Ivy

There is a newer version: 7.14.4
Show newest version
package com.enonic.xp.security;

import com.enonic.xp.annotation.PublicApi;

@PublicApi
public final class EditableIdProvider
{
    public final IdProvider source;

    public IdProviderKey key;

    public String displayName;

    public String description;

    public IdProviderConfig idProviderConfig;

    public EditableIdProvider( final IdProvider source )
    {
        this.source = source;
        this.key = source.getKey();
        this.displayName = source.getDisplayName();
        this.description = source.getDescription();
        this.idProviderConfig = source.getIdProviderConfig();
    }

    public IdProvider build()
    {
        return IdProvider.create( this.source ).
            key( key ).
            displayName( displayName ).
            description( description ).
            idProviderConfig( idProviderConfig ).
            build();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy