mark_story
63f07d3f0f
Making Authorize and Authenticate objects have constructors like other components.
...
Adding ComponentCollection as a argument for the constructor, this unifies the two types of objects and makes them consistent with other components. It also allows authenticate/authorize objects to access other components, thanks to hiromichan for the idea. Tests updated.
2011-02-17 23:17:07 -05:00
mark_story
fbd798da6c
Reordering parameters to make it easier to remember the order.
2011-02-06 16:59:47 -05:00
mark_story
e32f419d0a
Fixing comments.
2011-02-06 00:01:52 -05:00
mark_story
3629925a40
Refactoring authentication objects so basic and digest authentication can work without cookies. This makes non browser clients able to use Basic and Digest auth.
...
Updating test cases.
2011-02-05 18:41:00 -05:00
mark_story
3875d0ef54
Removing a method that is duplicated in AuthComponent.
2011-02-03 23:00:41 -05:00
mark_story
82851895ef
Shifting includes around.
2011-02-03 22:46:31 -05:00
mark_story
669672a1a0
Adding doc blocks.
2011-02-03 22:46:30 -05:00
mark_story
d5f5ae3271
Fixing typo where realm would be wrong if not specified.
2011-02-03 22:46:30 -05:00
mark_story
705b3288e1
Basics of DigestAuth are working.
2011-02-03 22:46:30 -05:00
mark_story
945e49ad09
Starting Digest auth, using Basic auth as a starting base.
2011-02-03 22:46:30 -05:00
mark_story
bcd8dcd0f7
Extracting common logic into the base class.
2011-02-03 22:46:30 -05:00
mark_story
4610a0bf3c
Adding some more tests for basic auth challenge headers.
2011-02-03 22:46:30 -05:00
mark_story
e8bf6ed176
Basic tests for BasicAuthenticate are passing.
2011-02-03 22:46:30 -05:00
mark_story
ba02483ae8
Adding a response parameter to authenticate() both basic and digest auth need to set response headers.
2011-02-03 22:46:30 -05:00
mark_story
332b6cfc22
Adding basic authentication skeleton.
2011-02-03 22:46:29 -05:00
mark_story
041e0a65ac
Extracting a base class.
2011-02-03 22:46:29 -05:00
mark_story
dc03e4f26c
Moving an import.
2011-02-03 22:46:29 -05:00
mark_story
fd8fb1225d
Removing automatic password hashing from AuthComponent. Its a frustrating feature that often befuddles new users, and can be plain annoying sometimes.
...
Moving hashing into FormAuthenticate.
Updating tests.
2011-02-03 22:46:28 -05:00
mark_story
1696df7201
Removing the last of actionMap from AuthComponent. Its been moved into the authorization objects.
...
Updating and adding tests for crud_authorize.
2011-02-03 22:46:27 -05:00
mark_story
e11917ae94
Removing public properties that aren't used anymore.
2011-02-03 22:46:27 -05:00
mark_story
0c7f9149ca
Refactoring authorization objects to also use settings, it makes them consistent with authenticate objects.
...
Making actionPath automatically pass into authentication objects.
Adding tests.
2011-02-03 22:46:27 -05:00
mark_story
ced832ba62
Fixing issues with FormAuthenticate and plugin models.
2011-02-03 22:46:27 -05:00
mark_story
2e9d9479a6
Moving another part of AuthComponent's authorize strategies into BaseAuthorize.
...
Implementing CrudAuthorize and adding tests for it.
2011-02-03 22:46:26 -05:00
mark_story
7207dccc7c
Adding ActionsAuthorize. It implements using Acl as the authorization object.
2011-02-03 22:46:26 -05:00
mark_story
4058e7f48c
Extracting a base class, as it will be needed.
...
Moving AuthComponent::action() into the authorize object base as that's where its used.
2011-02-03 22:46:26 -05:00
mark_story
67c9acbc94
Adding a doc block.
2011-02-03 22:46:26 -05:00
mark_story
16b3beec5e
Starting ControllerAuthorize adding it and the test cases.
2011-02-03 22:46:26 -05:00
mark_story
693360bc9e
Removing isAuthorized() as there is no need for it once AuthComponent is updated.
2011-02-03 22:46:26 -05:00
mark_story
1c827573ce
Adding doc blocks for FormAuthenticate.
2011-02-03 22:46:26 -05:00
mark_story
68da3fab8f
Starting to extract authentication objects out of AuthComponent. Started off with extracting FormAuthenticate as its what currently exists in AuthComponent. Test case added.
2011-02-03 22:46:25 -05:00