Skip to content
Snippets Groups Projects
Commit 8c4645fc authored by Ghislain Loas's avatar Ghislain Loas
Browse files

dev #17872 planet nemo sso cas add servicevalidateAction

parent 4f5e0d95
Branches
Tags
4 merge requests!780Master,!767Master,!762Dev #17872 planet nemo sso cas,!760Dev #17872 planet nemo sso cas
......@@ -16,11 +16,11 @@
*
* You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
* along with BOKEH; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
class CasServerController extends Zend_Controller_Action {
use Trait_StaticFileWriter;
protected $service; // url de retour
protected $service; // url de retour
protected $values;
......@@ -71,14 +71,18 @@ class CasServerController extends Zend_Controller_Action {
}
function servicevalideAction() {
$this->_forward('validate');
}
function serviceValidateAction() {
$this->getHelper('ViewRenderer')->setNoRender();
$this->getResponse()->setHeader('Content-Type', 'application/xml;charset=utf-8');
$this->getResponse()->setBody("<form method='post' action=''><div>Identifiant:<input type='text' size='15' id='username' /></div><div>Mot de passe: <input type='text' size='15' id='password' /></div></form>");
}
function validateMusicmeAction() {
$this->getHelper('ViewRenderer')->setNoRender();
$bibid=$this->_request->getParam('MediaLibraryID');
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment