Logo white

Peter M. Groen / knowledgetree

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Commits 9,762
  • Compare
  • Branches 2
  • Tags 28
  • knowledgetree
27 Nov, 2005
19 commits
  • Helper functions for handling authentication. ...
    62b1db25
    getAuthenticatorForUser($oUser) gets the correct authenticator based on
    the user's authentication source, from the authentication provider
    associated with the authentication source.
    
    checkPassword($oUser, $sPassword) uses the above function to get the
    authenticator for the user, and then calls its checkPassword method with
    the same parameters.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4200 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 20:24:26 +0000  
    Browse Code »
  • Page for admins to change the DN for LDAP-authenticated users. ...
    7479c60a
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4199 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 20:20:10 +0000  
    Browse Code »
  • Rename getAuthenticatorForSource to getAuthenticator ...
    872ce7f2
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4198 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 20:16:40 +0000  
    Browse Code »
  • Make obvious that, although it doesn't affect anything for this ...
    bb847ec3
    provider, getAuthenticator is called with an authentication source
    object.
    
    checkPassword is now passed a user object, not the user name.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4197 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 20:16:14 +0000  
    Browse Code »
  • getAuthenticator gets passed an authentication source object, so that ...
    81b0d4e0
    the authenticator is set with all the information it needs to
    authenticate the user.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4196 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 20:15:10 +0000  
    Browse Code »
  • Implement do_editUserSource for the LDAP authentication provider, ...
    e1bc2616
    allowing for a user's DN to be edited.
    
    Also change the authenticator to accept to take the authentication
    source as its constructor parameter, and to use the user's
    authentication details storage area to store the LDAP DN.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4195 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 18:00:37 +0000  
    Browse Code »
  • Give authentication providers the hook, editUserSource, which cascades ...
    23e42b4f
    into the authentication provider's dispatcher to allow for
    provider/source specific information (such as the LDAP DN for a user) to
    be edited/maintained.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4194 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 17:58:54 +0000  
    Browse Code »
  • Add validateUser, which ensures the given number is a valid User entity ...
    55ea515e
    before returning the entity, erroring out as per standard validation.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4193 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 17:57:52 +0000  
    Browse Code »
  • Add getByUserName, which (surprisingly) finds a user by their user name. ...
    14666d37
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4192 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 17:57:10 +0000  
    Browse Code »
  • Use the authentication provider's showUserSource method to display ...
    a99ac494
    authentication information for the user.  The changing of user password
    has been moved to the built-in authenticaiton provider's showUserSource
    method.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4191 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 12:20:46 +0000  
    Browse Code »
  • Pass the authentication provider and source into the edit template, ...
    be13330d
    allowing for authentication information to be displayed and ultimately
    editing through the user management system.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4190 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 12:19:36 +0000  
    Browse Code »
  • Remove erroneous LDAP authentication provider registration - it is in ...
    2d63e73c
    ktstandard.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4189 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 12:18:19 +0000  
    Browse Code »
  • Delete commented-out _fieldValues, and move _aFieldToSelect and _table ...
    e87b9d0a
    to the top as per others.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4188 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 12:17:25 +0000  
    Browse Code »
  • Add authentication source and authentication details to the user object ...
    e4285623
    Shorten boilerplate getter/setters.
    
    Replace ::get with KTEntityUtil/_aFieldToSelect
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4187 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 12:16:26 +0000  
    Browse Code »
  • Use pass-by-reference (or the PHP approximate) to assign to $main ...
    49cfd102
    (No difference, really, just stylistic.)
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4186 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 12:14:43 +0000  
    Browse Code »
  • Use showUserSource to allow for an admin to change a user's password. ...
    0e846e7d
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4185 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 12:14:04 +0000  
    Browse Code »
  • Look up an authentication source for a user. ...
    81fd8131
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4184 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 12:13:39 +0000  
    Browse Code »
  • Add showUserSource, which allows the authentication provider to show how ...
    8712ca2d
    a user is set up in an authentication source (LDAP DN, for example).
    Also allows for providers to have a link to change a password, for
    example.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4183 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 12:13:10 +0000  
    Browse Code »
  • LDAPAuthenticator moved into LDAPAuthenticationProvider ...
    e21e4fc8
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4182 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-27 11:25:01 +0000  
    Browse Code »

25 Nov, 2005
21 commits
  • Template for editing an LDAP authentication source ...
    94b11dcb
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4181 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-25 20:20:40 +0000  
    Browse Code »
  • Template for viewing an authentication source ...
    9eee80ab
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4180 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-25 20:20:09 +0000  
    Browse Code »
  • Passing sources through as sources, not aSources. ...
    9acb8bec
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4179 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-25 20:19:10 +0000  
    Browse Code »
  • Implement an LDAP Authentication Provider ...
    f062e17b
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4178 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-25 20:18:40 +0000  
    Browse Code »
  • Fix silly brainos ...
    9f12d78a
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4177 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-25 20:18:01 +0000  
    Browse Code »
  • Admin page to manage different authentication methods ...
    193fcd58
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4176 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-25 20:16:42 +0000  
    Browse Code »
  • Allow authentication providers to have human-usable names. ...
    663a1c06
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4175 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-25 18:32:10 +0000  
    Browse Code »
  • Fix typos, and declare object-level variables. ...
    94f3f327
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4174 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-25 18:31:43 +0000  
    Browse Code »
  • Provide both a way to get information about providers and get singleton ...
    42dcb5be
    instances of the providers.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4173 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-25 18:30:57 +0000  
    Browse Code »
  • Authentication Providers are now dispatchers - they need to handle ...
    c4b1884a
    do_editSourceProvider and do_performEditSourceProvider.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4172 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-25 18:30:19 +0000  
    Browse Code »
  • Don't print exception yet - let's wait for pretty exception printers. ...
    988ba4d0
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4171 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-25 18:29:21 +0000  
    Browse Code »
  • Add authentication_sources table. ...
    2ed5a28a
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4170 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-25 18:28:49 +0000  
    Browse Code »
  • - make conditional metadata work again. ...
    8169a767
    - add a titles to various pages.
    - make columns include toggleselect.
    - rolled in treewidgets
    - correct the $main !== $this->oPage issue
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4169 c91229c3-7414-0410-bfa2-8a42b809f60b
    Brad Shuttleworth authored
    2005-11-25 15:26:35 +0000  
    Browse Code »
  • Front page for authentication sources. ...
    423b9330
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4168 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-25 10:39:21 +0000  
    Browse Code »
  • Pass a human-readable name through for the authentication provider. ...
    c5792e17
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4167 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-25 10:38:27 +0000  
    Browse Code »
  • Template for authentication management ...
    bf1b9797
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4166 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-25 10:01:10 +0000  
    Browse Code »
  • Start hooking up LDAP as an authentication provider ...
    70d1973d
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4165 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-25 09:59:11 +0000  
    Browse Code »
  • Create a registered plugin for KTCore, and register admin pages and ...
    21d87ce2
    categories.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4164 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-25 09:53:56 +0000  
    Browse Code »
  • Hook up bulk import and bulk upload folder actions. ...
    8d4132ef
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4163 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-25 09:52:14 +0000  
    Browse Code »
  • Authentication sources are places where KnowledgeTree can find out how ...
    baae444b
    to authenticate a user configured to use that source.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4162 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-25 09:51:04 +0000  
    Browse Code »
  • The built-in authentication provider uses the default KnowledgeTree ...
    ff9e8c52
    users table for authentication.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4161 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-25 09:49:13 +0000  
    Browse Code »