Hi Imesh,

Below are the admin services using and operations

OAuthAdminService - registerOAuthApplicationData
IdentityApplicationManagementService - createApplication, getApplication,
updateApplication

Since authentication handlers does not set the carbon context, there is no
way of identifying the user at component level. Thus added a JWT based
authenticator, so every admin called is to be authenticated. This is why
you see many logs

On Sun, Dec 21, 2014 at 8:39 PM, Imesh Gunaratne <im...@apache.org> wrote:
>
> Can you please explain those admin calls Udara?
> I can see ten user logins for an application having two cartridges for one
> application parse process:
>
> [2014-12-21 04:21:56,892]  INFO
> {org.apache.stratos.autoscaler.api.AutoScalerServiceImpl} -  Starting to
> add application: [application-id] single-group-app
> [2014-12-21 04:21:57,005]  INFO
> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -
>  'admin@carbon.super [-1234]' logged in at [2014-12-21 04:21:57,005+0530]
> [2014-12-21 04:21:57,041]  INFO
> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -
>  'admin@carbon.super [-1234]' logged in at [2014-12-21 04:21:57,041+0530]
> [2014-12-21 04:21:57,064]  INFO
> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -
>  'admin@carbon.super [-1234]' logged in at [2014-12-21 04:21:57,064+0530]
> [2014-12-21 04:21:57,093]  INFO
> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -
>  'admin@carbon.super [-1234]' logged in at [2014-12-21 04:21:57,093+0530]
> [2014-12-21 04:21:57,134]  INFO
> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -
>  'admin@carbon.super [-1234]' logged in at [2014-12-21 04:21:57,134+0530]
> [2014-12-21 04:21:57,902]  INFO
> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -
>  'admin@carbon.super [-1234]' logged in at [2014-12-21 04:21:57,902+0530]
> [2014-12-21 04:21:57,912]  INFO
> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -
>  'admin@carbon.super [-1234]' logged in at [2014-12-21 04:21:57,911+0530]
> [2014-12-21 04:21:57,922]  INFO
> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -
>  'admin@carbon.super [-1234]' logged in at [2014-12-21 04:21:57,922+0530]
> [2014-12-21 04:21:57,934]  INFO
> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -
>  'admin@carbon.super [-1234]' logged in at [2014-12-21 04:21:57,934+0530]
> [2014-12-21 04:21:57,957]  INFO
> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -
>  'admin@carbon.super [-1234]' logged in at [2014-12-21 04:21:57,957+0530]
> [2014-12-21 04:21:57,976]  INFO
> {org.apache.stratos.autoscaler.applications.parser.DefaultApplicationParser}
> -  Application with id single-group-app parsed successfully
>
> Thanks
>
> On Sun, Dec 21, 2014 at 6:22 PM, Udara Liyanage <ud...@wso2.com> wrote:
>
>> Hi,
>>
>> Token generation has 2,3 admin calls and since token is generated twice
>> per application (since application is parsed twice). That is why you see
>> many logging logs.
>>
>>
>>
>> Touched, not typed. Erroneous words are a feature, not a typo.
>>
>
>
>
> --
> Imesh Gunaratne
>
> Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>


-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897

Reply via email to