Re: [Dev] Accessing authentication admin service right after server startup

2018-02-22 Thread Amanda Jayanetti
Hi Thusitha, Thank you for the information. My requirement is actually to deploy some APIs upon server startup to the API gateway. And the authentication admin service is accessed during this process. Although transports are activated before ServerStartupObservers are notified, there's seems to

Re: [Dev] Accessing authentication admin service right after server startup

2018-02-22 Thread Thusitha Thilina Dayaratne
Hi Amanda, AFAIK ServerStartupObservers get notify after the transport activation[1]. [1] - https://github.com/wso2/carbon-kernel/blob/4.4.x/core/org.wso2.carbon.core/src/main/java/org/wso2/carbon/core/internal/StartupFinalizerServiceComponent.java#L209 Thanks On Thu, Feb 22, 2018 at 6:25 PM,

[Dev] Accessing authentication admin service right after server startup

2018-02-21 Thread Amanda Jayanetti
Hi all, For a task that I'm currently working on, authentication admin service needs to be called right after server startup. I'm using ServerStartupObserver for registering a listener which invokes the function from which the admin service gets called. But at the time this function gets