all. I wonder if I can get the tenant ID except for carbonContext API. I see this set of API can get anything from the server, but it is too powerful to be exposed the the developers. An evil dev-er can easily get the whole osgi services. He can even modify other users's registry by just setting the tenantID to others. So is there any method I can use, to get the tenant ID of an app?
Can I get the tenant ID when an app is deployed on AS
567 Views Asked by wiwengweng At
1
There are 1 best solutions below
Related Questions in API
- SuiteCRM how to retrieve all account related contacts
- how do i submit a pastebin or pastee from an android app and get the url back
- BigCommerce PHP API delete Category which contains products
- Interact with chrome bookmarks outside of extensions
- purchase individual items and subscriptions in the same PayPal REST API transaction
- youtube api v3 insert comments
- Youtube api v3 duration
- Responding to an Office 365 event invite via REST
- Convert youtube video to mp3 using Quick MP3 API
- How to real-time monitor the emails?
- Laravel - Fractal - Using Find() in transformer file- is it correct or can it be done more efficiently?
- return data from a Azure API json
- Accessing Picasa Web API using PHP
- RAML multivalued form parameter
- TestFlight API and stats with as3
Related Questions in MULTI-TENANT
- MultiTenant Application Prevent Tenant Access Data from Other Tenant in Shared Database
- EclipseLink @Multitenant EntityManager/Transaction handling
- django-tenant-schema and domain redirection
- ASP.NET Identity - Filter roles based on company
- Best way to customize CSS for tenants on a multi-tenant app?
- Microsoft Graph API Accessing basic info of a user that is outside tenancy
- How to implement customer subdomain in Spring framework
- Multi-tenant using Aspnet Identity
- Rails apartment with merit gem
- Rails - Redirect to a user's subdomain if it is removed and they are signed in?
- Multitenant scoping using Pundit
- Entity Framework Multi-Tenancy with ASP.NET Identity
- Mongoose and Node.js multi tenant architecture
- Solutions for a Multi-Tenant Platform using Django with Postgresql
- One database per client or all clients in one database?
Related Questions in WSO2
- Auto redirection in WSO2 API
- writing into file using VFS -WSO2 ESB 4.8.1
- how can I improve the response of BPS
- How to route by call method in proxy with WSO2?
- writing into file (Converting Base64 to Binary) values Using VFS and ESB 4.8.1
- How to publish wsdl when using different endpoints in proxy with WSO2?
- Importing users into a WSO2 IS User Database
- WSO2 IS - Do a Single Logout using the IdentitySAMLSSOService
- Wso2 DSS Tenant Endpoint Url not working
- How to deploy API Managers behind ELBs on AWS and preserve X-Forwarded headers?
- Is one XACML file per user a good approach?
- Changing WSO2 / Synapse to expose CXF service instead of AXIS2
- Fault Sequence ERROR_CODE property is not generating error as expected in wso2
- WSO2 ESB returning HTTP/1.1 413 Request Too Long for GET with url of 8k characters
- WSO2 MDM Connection Failer
Related Questions in APPSERVER
- bad_certificate when migrating app server cluster
- upload an app twice in app server and meet errors
- How to connect databases on different serves?
- Error with Wordpress on Appserver
- How to change the logging level of dev_appserver
- WebSphere equivalent in .NET
- Installing & configuring JBoss WildFly in CentOS 8 with different user
- Getting NoClassDefFoundError for class SettableFuture present in com.google.common.util.concurrent package of guava-30.0-jre.jar only in Websphere
- The Node Agent is stopped
- How to install PhpPgAdmin in AppServ?
- Can I get the tenant ID when an app is deployed on AS
- Can we restart Microsoft Azure app service from c#?
- How to get list of applied templates using WLST
- Show Users who are in 10 KM radius from User current location Android
- Java appserver to be iniated in Java application
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Normally tenant ID is an internal detail and it is not exposed via web services. AFAIK Only available way is the CarbonContext API. Actually you can enable java security manager and restrict the access to OSGI service. I guess WSO2 has done it in their live deployment where we can not access CarbonContext, user realm and other service using a web app. But i agree that there must be a way to get tenant information about the deployed tenant. (basically tenant domain , not tenant id).