/* * Facebook Login Servlet - Shiboleth Identity Provider integrator with Facebook * Copyright (C) 2012 Poznan Supercomputing and Networking Center - Application * Department * * contact: adamski@man.poznan.pl * * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. You should have received a copy of the GNU General Public License * along with this program. If not, see . * * * Poznan Supercomputing and Networking Center - Application Department, * ul.Dąbrowskiego 79a, 60-529 Poznań, Poland. (+48 61) 858-20-72 * http://apps.man.poznan.pl/ * * This application was developed as a part of the SYNAT project * http://www.synat.pl/en * * Poznan Supercomputing and Networking Center, hereby disclaims all copyright * interest in the Facebook Login Servlet written by Jakub "Erwin" Aftowicz. * (erwin37@gmail.com) * * Marcin Adamski , 21 MAY 2012 (adamski@man.poznan.pl) */ package pl.psnc.synat.idp; public class Parameter { @Override public String toString() { return "[name=" + name + ", isDefaultValueSet=" + isDefaultValueSet + ", defaultValue=" + defaultValue + "]"; } Parameter(String n) { this.name = n; } private String name; private boolean isDefaultValueSet = false; private String defaultValue = null; public void setDefaultValue(String value) { this.isDefaultValueSet = true; this.defaultValue = value; } public String getName() { return name; } public String getDefaultValue() { return defaultValue; } public boolean isDefaultValueSet() { return isDefaultValueSet; } }