internal package
Foswiki::LoginManager::ApacheLogin internal package
Foswiki::LoginManager::ApacheLogin is a
Foswiki::LoginManager viewauth -> view
, editauth -> edit
, and so on.
See also UserAuthentication.
Subclass of Foswiki::LoginManager; see that class for documentation of the
methods of this class.
ClassMethod
new ($session) ObjectMethod
forceAuthentication () → boolean method called when authentication is required - redirects to (...|view)auth Triggered on auth fail
ObjectMethod
loginUrl () → $loginUrl TODO: why is this not used internally? When is it called, and why Content of a login link
ObjectMethod
login( $query, $session ) this allows the login and logon cgi-scripts to use the same code. all a logon does, is re-direct to viewauth, and apache then figures out if it needs to challenge the user
ObjectMethod
getUser () → $authUser returns the userLogin if stored in the apache CGI query (ie session)