CAS

Central Authorization Server.
Download

CAS Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Sean P. Quinlan
  • Publisher web site:
  • http://search.cpan.org/~seanq/

CAS Tags


CAS Description

Central Authorization Server. CAS is a Central Authorization Server.SYNOPSISCAS is intended to provide cross project (client) and cross platform authentication and authorization services. CAS allows a user to have a single username and password, which can be granted access to 0 or more different clients. Even fine grained access controls can be granted differently for any and all of the different clients that use CAS. The central object to CAS is client based, and can be used to manage multiple users. use CAS; my $client = CAS->new({CLIENT_ID => $id});or my $client = new CAS({CLIENT_NAME => 'Project Foo'}); my $session = $client->authenticate({USERNAME => 'foo', PASSWORD => 'foobar'}); my $can_do = $client->authorize({USER => $session, RESOURCE => 'resource1', MASK => 'create'});Code problems and mis-configurations should cause the call to die. Otherwise methods return undef on failure. Processing statements are stored in the calling objects message stack, which is reset with every method call. unless (defined $session) { die($client->messages) } Requirements: · Python


CAS Related Software