pl.edu.icm.unity.ldap.client.config.ServerSpecification Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of unity-server-ldap Show documentation
Show all versions of unity-server-ldap Show documentation
Authenticator checking user credential against LDAP server
/*
* Copyright (c) 2019 Bixbit - Krzysztof Benedyczak. All rights reserved.
* See LICENCE.txt file for licensing information.
*/
package pl.edu.icm.unity.ldap.client.config;
/**
* Ldap server specification
* @author P.Piernik
*
*/
public class ServerSpecification
{
private String server;
private int port;
public ServerSpecification()
{
this("", 389);
}
public ServerSpecification(String server, int port)
{
this.server = server;
this.port = port;
}
public String getServer()
{
return server;
}
public void setServer(String server)
{
this.server = server;
}
public int getPort()
{
return port;
}
public void setPort(int port)
{
this.port = port;
}
}