What are the general steps performed when authenticating a Subject in JAAS?
What will be an ideal response?
The following general steps are performed when authenticating a Subject:
1. An application instantiates a LoginContext.
2. According to the configuration, the LoginContext loads all of the PAM modules configured for that application.
3. The application invokes the LoginContext login method.
4. The login method invokes the loaded PAM modules one after another. Each PAM module attempts to authenticate the subject. When all required modules are successful, PAM modules associate relevant Principals and credentials with a Subject object that represents the subject being authenticated.
5. Authentication status is returned to the application from the LoginContext.
6. If authentication succeeded, no exception will be thrown and the application can retrieve the Subject from the LoginContext.
You might also like to view...
A digital certificate is issued by a(n) _____.
A. Internet service provider B. network administrator C. certificate authority D. user
When you incorporate Web page text excerpts into your documents, you must include a(n) ____ that follows a standard style.
A. annotation B. citation C. document D. reference
The link color should not be the same as the text color.
Answer the following statement true (T) or false (F)
In a for statement, the counter is updated at the top of the loop.
Answer the following statement true (T) or false (F)