Java Authentication Library

I am developing a server / client Java application where I need to verify the authenticity of the client before sending data, I also need to encrypt the sent data after authentication and ensure its freshness

I am wondering what is the best library I can use for this?

+5
source share
5 answers

Take a look at the security module in the Spring framework . To a large extent covers all common authentication and authorization services.

+4
source

Java Java SE 1.4. API , ( LDAP, - ), .

Apache Shiro - /, , JAAS, . - jGuard, 2013 .

+3

LDAP ( Active Directory) OpenLDAP (http://www.openldap.org/jldap/).

+1

You can use public key encryption and authenticate client based on certificates.
Check JSSE SUN on secure sockets

0
source

If you are not using Spring, and you are using some ready-made server framework, look there - most of them include authorization modules.

0
source

All Articles