Comments (6)
I wrote some basic documentation about the new Auth Methods in Kwf 3.8: http://www.koala-framework.org/documentation/kwf_general_features/users/auth_methods
For LDAP Login you'll have to implement a new auth method (implementing the Redirect interface).
All methods you don't need (changing password, activation etc) simply leave empty. If you can't change password we need to make that optional, probably in it's own interface or something. But that's for later...
If you could hack together something and push it somewhere I'll have a look...
from koala-framework.
Don't look easy :D
As I realized:
- I must add new user model to my config.ini:
user.model = LDAP
- Add new LDAP.php in \controllers with following:
class LDAP extends Kwf_User_Model
{
public function getAuthMethods()
{
$ret = parent::getAuthMethods();
$ret['custom'] = new MyAuth($this);
return $ret;
}
}
What is MyAuth? I don't understand where I can put my LDAP-auth code and how to use Kwf_User_Auth_Interface_Redirect...
With a small sample it would be easier =)
from koala-framework.
I would name the class "Users" not LDAP - as it represents users. And place it in models/ - it's a model after all.
MyAuth Is a new class that you have to implement yourself. Place it into app/ and name it LdapAuth for example. And in that new class you implement the interface (class LdapAuth implements Kwf_User_Auth_Interface_Redirect
)
from koala-framework.
How is your login coming along?
from koala-framework.
How is your login coming along?
Not yet proceeded. I will write here in the process of implementation.
from koala-framework.
closing, re-open if needed
from koala-framework.
Related Issues (20)
- Some files not being translated HOT 1
- Illegal offset type in isset or empty HOT 10
- How to set custom field order HOT 3
- Ext is not defined HOT 1
- Invalid Source Map during build HOT 2
- ShowSelect 3.8 fix not merged into 3.9 HOT 2
- EXISTS/NOT EXISTS sql query with KWF/ZF HOT 3
- KWF 4.2 demo (ExtJS 6.2) HOT 2
- Logging system HOT 7
- Can't add two TextField filters to Grid HOT 3
- Duplicate and delete lines in Kwf_Mail_Template HOT 6
- How to set checkbox to checked state? HOT 3
- How to select one child row? HOT 2
- Database multilanguage practice HOT 1
- Add frontend form
- Add newsletter in backend
- How to check controller/URL name in row class?
- CLI controller: Class not found HOT 1
- Re-initialize editDialog HOT 1
- A connection problem occured HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from koala-framework.