Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

Oak::AAS::Service
Abstract class that defines the interface for AAS services

Oak::AAS::Service - Abstract class that defines the interface for AAS services


NAME

Oak::AAS::Service - Abstract class that defines the interface for AAS services


HIERARCHY

Oak::Object

Oak::AAS::Service


DESCRIPTION

This is the base class for all the AAS services. This class describes the functionality of any service.


METHODS

constructor($params)
Must create the object and store the params it needs to work. Must throw an error if something goes wrong. The params must be a single string.

start_session(user,password)
Must start the session and return a unique id or false.

validate_session(user,sessionid)
Check if this is a valid session, return a boolean value (1=>success).

end_session(user,sessionid)
End this session

is_allowed(user,uri)
Return a true value if this user have access to this uri false if not.

grant(user,uri)
Grant user the access to uri.

deny(user,uri)
Make the uri denied to the user

list_uri
return an array with the available uri


COPYRIGHT

Copyright (c) 2003 Oktiva <http://www.oktiva.com.br> All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy