Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I'm writing a web-application using Java. It's for company's internal use.
Now I want to get the client's account name, which is in AD domain, and send it to server.
What tech should I follow?
Or, is there any other idea to complete the auto-login?
Consider this situation, the user login the windows system and open
our web app via browser, and the web app can know the user's windows
account name.
Thank you!
Based on the limited information, I guess the technology you are looking for is SPNEGO. This is the mechanism by which a browser on a windows machine can authenticate itself to a web-server transparently using the Kerberos keys present on the machine.
Here is a link to its Spring integration: http://projects.spring.io/spring-security-kerberos/
(I personally did not use the above Spring one, but used the Kerberos implementation that came with JDK 1.4)
The older non-secure version of windows transparent web-authentication used to be NTLM, but that shouldn't be supported anymore.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
I am developing one android application in java and i am using neo4j as a database for this app.
Lets, consider i will store the static cypher query in a string. Then after the user clicks on the button, i want to send this query(string) to neo4j server and then execute it on neo4j server and return the result.
My question is that, Is it possible? If yes, how can i do this ? Is there any easy/proper way to do?
Any help will be highly appreciated.
If you want to talk directly to Neo4j, you can use either:
The HTTP API
The Binary Bolt Protocol
If you would rather use middleware, there are many many different options:
Java
.NET
JavaScript
Python
Go
Ruby
PHP
...
When building mobile apps my personal preference is to build a standard API in a middleware server then use HTTPS calls from the app (neo4j-graphql-js has also been awesome for a couple projects), but there are enough stacks that you have the freedom to do it your way.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I have created my website using Java Enterprise Edition (JSP/Servlets) and MySql 8 for my database. It is a typical CRUD application with a feature that let the user track the car's location.
I thought of using Flutter since it will save me time with its cross-platform capabilities but I have'nt found any documentations that will make the user login from the app to my website and fetch some data.
I'm pretty sure it is possible somehow. Otherwise is there a way to simulate my website as fast as possible without using Chrome obviously.
Read the concept of Rest APis.Simply use the api to fetch data and you can also save data through api.You need to Connect your app to your web APi.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I am trying to build an application which needs to read mails of user once authorised. As a starter, I want to know, whether gmail allows third party applications to do so, if yes, how to get started on it.
Does Google allow third party access?
Yes. If you're going to be doing interactive programming using mainstream services, learn to use APIs. The Google API collection allows users to register their applications and sites for a huge variety of their services...including Gmail.
Look here for more details.
How can I get started?
Read the documentation and instructions for overall Google-API usage in the link above, and the separate documentation for the service you want to use.
For Gmail, look here.
I agree with the others its fairly well documented, particularly here would be relevant for you if you intend to get started using the Java API:
Google docs
To run this quickstart, you'll need:
Java 1.7 or greater. Gradle 2.3 or greater. Access to the internet and
a web browser. A Google account with Gmail enabled....
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I am building an android app and i have following doubts:-
I need help in how to create back end that is server (application layer).(I am good in java . so if you could guide me a way using java that would be nice)
I need know how to connect the server to my app both on app and on server side.
It depends on you're needs but you're best bet is using something like Django, Ruby on Rails or Python.
Building Awesome Rails API's Part 1
If you want to use Java, there are more ways. Here is one of them (pretty common these days). Your backend app could be a spring based and use REST controllers as the endpoints. There are plenty of introductions, e.g. http://spring.io/guides/gs/rest-service . Once you have established and run the backend app (either deployment to a web server or spring boot - see http://spring.io/guides/gs/spring-boot/) you can connect to the server via TCP/IP. Your android app could use http-client.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I need to make a cross platform application than can run on MAC, Windows, Linux and also on web. Can JAVA be used for this? If yes then what type of JAVA project and what architecture should I use? And also need to implement MVC.
My Application will store data on local pc and will also have same interface on web. And both platforms will keep in sync!
Your choices are somewhat as follows.
Create a remote server
Create a Swing desktop client
Use the Swing client through Web Start or create a separate web
client on the remote server (with any frameworks of your choice).
Obviously the choice without a separate web client is simpler, but it also means that all "web" users must have Java installed and Web Start must be allowed.
Yes java is best fit for this....about project type first of all decide the frameworks you are going to use.