Authentisierung

H

hapsi

Gast
Hi,

welche Möglichkeiten gibt es in Java eine Authentifizierung oder Autorisierung in (Web-)Applikationen durchzuführen??
Mir sind eigentlich nur zwei bekannt: JAAS und ServletFilter
 

Phash

Top Contributor
kenn auch nur JAAS und ServletSec (Spring Security)

Denke mal, der Webserver an sich bietet auch noch was, Tomcat User DB
 

Phash

Top Contributor
shiro funzt aber wie spring sec... also ich les mir das grad durch, und es schaut aus, als hätte es den gleichen Anwendungsrahmen...

was es noch gibt ist auf Entity Ebene - JPA Security

SpringSec und ApacheShiro gehn beide auf URLs, in Seiten, als Annotationen auf Methoden - auf Entity Ebene weiss ichs grad nicht...

aber das wär nachzulesen
 

deetee

Aktives Mitglied
Ne, Apache Shiro und Spring Sec haben zwar Gemeinsamkeiten, aber Shiro unterscheidet sich schon in einigen Punkten.

Hier ein Zitat des Hauptentwicklers von Shiro:

The Spring development team does not use Shiro in any part of its framework that I am aware of. However, the Shiro team (and its end-users) often use Spring for their own applications, so Shiro provides a complete Spring integration solution out-of-the-box for anyone wishing to use Shiro instead of Spring Security as their preferred application security API.

There are enough differences between the two frameworks, but the basic idea is that they differ based on scope and mental model/design. Also Shiro has a broader scope than Spring Security (to the best of my knowledge) in that it also addresses problems associated with enterprise session management (agnostic session clustering, SSO, etc) as well as cryptography, concurrency, etc. Finally, Shiro was designed from day one to work in all application environments (Spring, JEE, command line, smartphone, etc) - not just Spring environments.

Both frameworks are top notch, maintained by top-notch people - their scope and design/models are just different.
Quelle
 
Ähnliche Java Themen
  Titel Forum Antworten Datum
Meeresgott JWT - Autorisierung & Authentisierung Allgemeine Java-Themen 4

Ähnliche Java Themen

Neue Themen


Oben