Accessing Joomla session information from Silverlight - silverlight

Would anyone have any experience to share and/or sample code that shows accessing the session state information for a user logged into a Joomla web site? Simply showing the logged in user's name or something similar in Silverlight would be very interesting to me.
Thanks

Joomla Session data is stored in your local cookie.
Given that the silverlight app is coming from the same domain(isn't it?!!)
as the joomla site, silverlight should be able to access the cookies that joomla saved.
Then you can look at the session table, compare the session id from the cookie, and
get your user...
Hope this helps

Joomla tracks session data in a MySQL database, table jos_session. Grab a MySQL DLL and query your Joomla database for the user data.

Related

Set admin-like user for firebase realtime-database

im maintaining an older react web-app that uses a firebase realtime-database to store its data. I want to restrict the access to the database, so that only my react app can read from and write into the database. Is there a way to set up an admin-like login (kinda like with sql-databases) to authenticate my application?
I don't want to authenticate other users or enable them to register, I just want to ensure that only the web-app can edit and modify the database.
I've tried to experiment with the firebase authentication-methods but they don't seem to be what im looking for.
Thanks in advance!
I don't want to authenticate other users or enable them to register, I just want to ensure that only the web-app can edit and modify the database.
That's not possible. The only way to control access to a Realtime Database instance (while allowing direct access from web and mobile clients) is using Firebase Authentication to identify users, in combination with security rules that determine which users can access which data. Otherwise, anyone with an internet connection will be able to read or write the database.

#kentico cms to salesforce community login SSO

We have a website running on Kentico and we want all the users who are coming to kentico and doing login can automatically login to salesforce community after clicking a tab in kentico website .
I got few suggestions related to SSO but it seems there is no specific way in kentico cms for doing or configuring single sign on for other domains .
Let me know if you guys have any thoughts .
Thanks !!!
Not knowing much about Salesforce Community, I'll answer based on what we've done in the past in other situations which are similar.
In this case it seems like Salesforce will be your true source of the "user" data because there are license restrictions with users in Salesforce and NOT in Kentico. Some of the user data (username, first, last, etc.) will be stored in Kentico to help with functionality. In this case you'd:
Place the login webpart on a page and configure it (simple).
Create a Global Event Handler for the Authenticate event.
In the global event handler, attempt to log them into Salesforce with given username and password.
If a user exists or the login is successful, allow them to log into Kentico and possibly sync some of their profile/user data to Kentico, if not, cancel the event.

Session Management in salesforce

We are trying to build one simple website using force.com sites.Here User logged into website and need to perform different actions by moving to different VF pages.
We are facing a Problem to maintaine Session of particular user. We need help regarding how to maintaine session for particular user.
Kindly give your help. Please provide any sample code.
Thanks.
You can't ;)
Think about it, you can store usernames/passwords in your data objects and if they allow you to login and maintain a session for that user and use it to walk around apex pages and builtin forms why would you buy a salesforce license? You could operate a 1000 employees rig with just one administrative license and a site URL. For that reason salesforce does not allow you session control, it grants you one when you buy and expense a license.
For sites, you have to purchase either Customer Portal license or volume-based High Volume Customer Portal set and then use those to "promote" a contact into a login user with the above license. Then, when that user logs into site it has its own session.
This document http://wiki.developerforce.com/index.php/Authenticating_Users_on_Force.com_Sites might be of great help.
This tutorial shows you how to authenticate users on Force.com Sites. It provides a description of Customer Portal, which is needed for the authentication, and shows you how to set up such a site and process to allow site visitors to become authenticated users.
The points on customer portal are correct, and you have to pay for these licences. If you build your own auth on Force.com Sites and salesforce.com finds out they'll be very unhappy. That said you can still do it using cookies (http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_sites_cookie.htm) but it's not perfect because it's client-side.
I highly recommend that you steer clear of this approach though. You're better off building your UI layer on another platform (Google App Engine or Heroku) and using web services created on the Force.com platform through that UI.

facebook registration plugin

I have a problem with facebook Registration social plugin.
If i put this plugin on my site, it possible to store permanently the data inserted by the user, or prefilled, in my database?
I would use this plugin like an alternative to register users on my site, so i need to save registration data in my database.
But i don't find policies information about storing user data in database.
Thank you!
Here's a helpful link: http://www.9lessons.info/2011/01/user-signup-using-facebook-data.html

Edit User Account on SharePoint Server 2010/Project Server 2010 without AD

We have installed SharePoint Server 2010 and Project Server 2010 without AD. We're a disconnected bunch and thought we'd take it for a spin since being part of BizSpark. But now I'm seeing an issue with editing user account info like email address. Can anyone give me some hints on how life might be like without AD or how to supplement what we might be missing by running the system without AD. Many posts note it is supported but little has notes on what you might be missing.
Thanks in advance.
What you need is to check out the User Profile Service Application area.
Go to SharePoint Central Administration
Go to Manage Service Applications
Select User Profile Service Application
This area is the home of the accounts that are in SharePoint, as well as all the information about the users and how it is displayed on their "My Site"/profile page areas.
If you select Manage User Profiles, this is the area where you can override information from Active Directory about users that are in sharepoint. If you connect to AD, you'll see a little database icon next to the fields that indicates it is synchronized. Even if you use AD, these field can be individually overriden with new information. If you don't have AD, then these will all need to be populated manually by you.
If you go to Manage User Properties you will find all the options to show which fields are editable and which fields are not on a user's profile. This includes, but is not limited to:
Email
Display Name
Homepage/Url
Department
Manager
If you have AD, you'll rarely visit this service admin page, because everything will just work. If you don't, then you'll need to check out this area to change the information about the people that are using your SharePoint instance.
Hope that helps!

Resources