comanage-dev - Re: [comanage-dev] error after authentication
Subject: COmanage Developers List
List archive
- From: Scott Koranda <>
- To: Benn Oshrin <>
- Cc:
- Subject: Re: [comanage-dev] error after authentication
- Date: Fri, 1 Mar 2013 11:10:08 -0600
- Authentication-results: sfpop-ironport01.merit.edu; dkim=pass (signature verified)
On Fri, Mar 1, 2013 at 10:49 AM, Benn Oshrin
<>
wrote:
> Just trying to figure out what the scenario is here...
>
>
> is not known to the platform, but you're trying to
> login anyway,
By accident, yes.
> so you're expecting a "user known" message or similar instead
> of throwing an error?
I am expecting the previous behavior, which was to present the normal
view but not allow me
to do anything.
> ie: It's not actually preventing you from doing
> anything? Then why did you need to roll back to 0.7?
Because I get the same error when using the REST interface with
my REST user (the one in the cm_api_users table).
When I roll back to 0.7 that user works with the REST api.
Scott
>
> -Benn-
>
> On 3/1/13 11:13 AM, Scott Koranda wrote:
>>
>> On Fri, Mar 1, 2013 at 9:41 AM, Benn Oshrin
>> <>
>> wrote:
>>>
>>> Are you trying to do something that requires an unknown identifier
>>
>>
>> No, simply trying to "login" and then access main view at /registry/
>>
>>> , or is
>>> this just a variation of CO-486?
>>
>>
>> No, REMOTE_USER is populated, just with a value unknown to the platform.
>> Before
>> that would just result with no useful menu choices but now it throws that
>> stack.
>>
>> I also found this problem affected REST API calls so I have gone back to
>> 0.7.
>>
>> Scott
>>
>>>
>>> -Benn-
>>>
>>> On 3/1/13 9:32 AM, Scott Koranda wrote:
>>>>
>>>>
>>>> Hi,
>>>>
>>>> This is the error I see if I authenticate using an identifier
>>>> not currently known to the platform.
>>>>
>>>> Fatal Error (256): [InvalidArgumentException] Unknown Identifier
>>>> #0
>>>>
>>>> /home/skoranda/COmanage/trunk/app/Controller/Component/RoleComponent.php(267):
>>>> RoleComponent->identifierIsCmpAdmin('scott.koranda@l...')
>>>> #1 /home/skoranda/COmanage/trunk/app/Controller/AppController.php(988):
>>>> RoleComponent->calculateCMRoles()
>>>> #2 /home/skoranda/COmanage/trunk/app/Controller/AppController.php(251):
>>>> AppController->menuAuth()
>>>> #3
>>>>
>>>> /home/skoranda/COmanage/trunk/lib/Cake/Controller/CakeErrorController.php(64):
>>>> AppController->beforeRender()
>>>> #4
>>>> /home/skoranda/COmanage/trunk/lib/Cake/Controller/Controller.php(865):
>>>> CakeErrorController->beforeRender()
>>>> #5
>>>> /home/skoranda/COmanage/trunk/lib/Cake/Error/ExceptionRenderer.php(268):
>>>> Controller->render('error500')
>>>> #6
>>>> /home/skoranda/COmanage/trunk/lib/Cake/Error/ExceptionRenderer.php(235):
>>>> ExceptionRenderer->_outputMessage('error500')
>>>> #7 [internal function]:
>>>> ExceptionRenderer->error500(Object(InvalidArgumentException))
>>>> #8
>>>> /home/skoranda/COmanage/trunk/lib/Cake/Error/ExceptionRenderer.php(165):
>>>> call_user_func_array(Array, Array)
>>>> #9 /home/skoranda/COmanage/trunk/lib/Cake/Error/ErrorHandler.php(127):
>>>> ExceptionRenderer->render()
>>>> #10 [internal function]:
>>>> ErrorHandler::handleException(Object(InvalidArgumentException))
>>>> #11 {main} [CORE/Cake/Error/ErrorHandler.php, line 136] Code Context
>>>>
>>>> ErrorHandler::handleException() -
>>>> CORE/Cake/Error/ErrorHandler.php, line 136
>>>> [main] - [internal], line ??
>>>>
>>>> This is the revision I am sitting at:
>>>>
>>>> $ svn info
>>>> Path: .
>>>> URL: https://svn.internet2.edu/svn/comanage/registry/trunk
>>>> Repository Root: https://svn.internet2.edu/svn/comanage
>>>> Repository UUID: 1fdded14-4b74-44c6-b977-281650cf7550
>>>> Revision: 414
>>>> Node Kind: directory
>>>> Schedule: normal
>>>> Last Changed Author: marie
>>>> Last Changed Rev: 414
>>>> Last Changed Date: 2013-01-26 06:02:07 -0600 (Sat, 26 Jan 2013)
>>>>
>>>> It's not critical since if I use the correct identifier then I
>>>> can get in and work, but I thought I would let you know in
>>>> case you spot something.
>>>>
>>>> Thanks,
>>>>
>>>> Scott
>>>>
>>>
>>
>
- [comanage-dev] error after authentication, Scott Koranda, 03/01/2013
- Re: [comanage-dev] error after authentication, Benn Oshrin, 03/01/2013
- Re: [comanage-dev] error after authentication, Scott Koranda, 03/01/2013
- Re: [comanage-dev] error after authentication, Benn Oshrin, 03/01/2013
- Re: [comanage-dev] error after authentication, Scott Koranda, 03/01/2013
- Re: [comanage-dev] error after authentication, Scott Koranda, 03/01/2013
- Re: [comanage-dev] error after authentication, Benn Oshrin, 03/02/2013
- Re: [comanage-dev] error after authentication, Scott Koranda, 03/02/2013
- Re: [comanage-dev] error after authentication, Benn Oshrin, 03/02/2013
- Re: [comanage-dev] error after authentication, Scott Koranda, 03/02/2013
- Re: [comanage-dev] error after authentication, Benn Oshrin, 03/02/2013
- Re: [comanage-dev] error after authentication, Scott Koranda, 03/02/2013
- Re: [comanage-dev] error after authentication, Benn Oshrin, 03/02/2013
- Re: [comanage-dev] error after authentication, Benn Oshrin, 03/02/2013
- Re: [comanage-dev] error after authentication, Scott Koranda, 03/01/2013
- Re: [comanage-dev] error after authentication, Scott Koranda, 03/01/2013
- Re: [comanage-dev] error after authentication, Benn Oshrin, 03/01/2013
- Re: [comanage-dev] error after authentication, Scott Koranda, 03/01/2013
- Re: [comanage-dev] error after authentication, Benn Oshrin, 03/01/2013
Archive powered by MHonArc 2.6.16.