Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java Integrating User Data Into Our Application

What is a Dialect? And what is a Principal?

Looking for some clarification on some of the concepts in this video, thx.

1 Answer

Dialect here is what Thymeleaf calls an extension or add-on, because the template language is added to or changed in some way from the base Thymeleaf.

Principle is a Java interface to represent an identity, and Spring's implementation of it is the first link in the teacher's notes.

Why do they use the word Principal and not something like User?

From the docs Principle is meant to be more abstract than just a user. It can represent a group as well.