---
name: "Lemonldap::NG::Portal::Lib::CAS"
section: "3pm"
platform: "linux"
package: "liblemonldap-ng-portal-perl"
version: "2.21.2+ds-1+deb13u3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Lemonldap::NG::Portal::Lib::CAS"
---

# Lemonldap::NG::Portal::Lib::CAS(3pm)

Common CAS functions

## NAME

Lemonldap::NG::Portal::Lib::CAS - Common CAS functions

## SYNOPSIS

use Lemonldap::NG::Portal::Lib::CAS;

## DESCRIPTION

This module contains common methods for CAS

## METHODS

### getCasSession

Try to recover the CAS session corresponding to id and return session data If id is set to undef, return a new session

### returnCasValidateError

Return an error for CAS VALIDATE request

### returnCasValidateSuccess

Return success for CAS VALIDATE request

### deleteCasSecondarySessions

Find and delete CAS sessions bounded to a primary session

### returnCasServiceValidateError

Return an error for CAS SERVICE VALIDATE request

### returnCasServiceValidateSuccess

Return success for CAS SERVICE VALIDATE request

### returnCasProxyError

Return an error for CAS PROXY request

### returnCasProxySuccess

Return success for CAS PROXY request

### deleteCasSession

Delete an opened CAS session

### callPgtUrl

Call proxy granting URL on CAS client

## SEE ALSO

Lemonldap::NG::Portal::IssuerDBCAS

## AUTHORS

- LemonLDAP::NG team \<http://lemonldap-ng.org/team\>

  ## BUG REPORT

Use OW2 system to report bug or ask for features: \<https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/issues\>

## DOWNLOAD

Lemonldap::NG is available at \<https://lemonldap-ng.org/download\>

## COPYRIGHT AND LICENSE

See COPYING file for details.

This library 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 2, 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 \<http://www.gnu.org/licenses/\>.
