NAME
Solstice::LoginRealm - Represents a person login realm.
SYNOPSIS
DESCRIPTION
This object exists as a superclass for specific person login realm objects
Export
No symbols exported.
Methods
- new([\%input])
- getSystemDataForLogin($login_name)
- getSystemDataForLogins(\@login_names)
- setPersonDataOnLogin($person)
-
If applicable, a login realm can set information, such as system name or email, on login. This is mainly useful for login realms that pull values from ENV.
- isValidLogin($login_name)
-
Returns TRUE by default. This method can be subclassed to provide a set of criteria used to allow logins access to solstice applications.
- isValidAccountName($login_name)
-
Returns TRUE by default. This method can be subclassed if there are login_name patterns that are simply invalid.
- getEmailAddress($login_name)
-
Returns a version of the username as an email address. Must be implemented in a subclass.
- getScopedLoginName($login_name)
-
Returns the login name, scoped to the login realm. Can be subclassed to return something other than the passed $login_name.
- isActiveLogin($time)
-
Decides if the current login is active, based on the time. If this returns FALSE, the user will be forced to reauthenticate. Defaults to never timing out a login.
Private Methods
AUTHOR
Catalyst Group, <catalyst@u.washington.edu>
VERSION
$ Revision: $
COPYRIGHT
Copyright 1998-2007 Office of Learning Technologies, University of Washington
Licensed under the Educational Community License, Version 1.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: http://www.opensource.org/licenses/ecl1.php
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.