User authorization Java SE
问题 I need to create a user authorization with different user's roles (admin and simple user). Admin will have more functional abilities. So, what classes or engines should I use to implement user authorization to my destkop application? Should I use classes in javax.security.auth.login ? 回答1: The two most common ways to implement authorization in a desktop application are: Java Authentication and Authorization Service (JAAS) Roll your own, either entirely from scratch or using something like