ECSP JAVA: JAAS

Beschreibung

ECSP JAVA
Carlos Veliz
Quiz von Carlos Veliz, aktualisiert more than 1 year ago
Carlos Veliz
Erstellt von Carlos Veliz vor fast 10 Jahre
189
0
1 2 3 4 5 (0)

Zusammenfassung der Ressource

Frage 1

Frage
In the JAAS architecture, which of the following modules does not correspond to the login modules?
Antworten
  • NTLogin
  • MyLogin
  • LnxLogin
  • Krd5Login
  • JndiLogin

Frage 2

Frage
What is the correct order of steps to implement the authorization JASS?
Antworten
  • Subject - Security Manager - Permission - Access Controller - Protected Domain - Permission Collection - Policy - Policy File
  • Permission - Subject - Access Controller - Protected Domain - Permission Collection - Policy
  • Subject - Permission - Access Controller - Protected Domain - Permission Collection - Policy
  • Subject - Permission - Security Manager - AccessControl Context - Access Controller - Permission Collection - Protected Domain - Policy File - Policy
  • Subject - Permission - Security Manager - Access Controller - AccessControl Context - Protected Domain - Permission Collection - Policy - Policy File

Frage 3

Frage
Flag, specifies the way to respond when the current login module gives an authentication failure. Which of the following values can be set to flag?
Antworten
  • Sufficient
  • True
  • False
  • True and False
  • 0 (Zero)

Frage 4

Frage
Which of the terms is not part of the implementation of Login Module?
Antworten
  • Abort()
  • Commit()
  • Rollback()
  • Initialize()
  • Login()

Frage 5

Frage
The description: "Removes all the Principals and credentials associated with the Subject". It corresponds to the method:
Antworten
  • logout()
  • abort()
  • commit()
  • initialize()
  • rollback()

Frage 6

Frage
In the architecture of JAVA EE. Which of the following statements belong to the DATA Tier?
Antworten
  • Service Locator
  • DAO
  • View Manager
  • Web Services Client
  • Services Facade

Frage 7

Frage
Which of the following is not a popular Java EE server?
Antworten
  • Apache
  • Jboss
  • WebSphere
  • Weblogic
  • Glassfish

Frage 8

Frage
What is the default port for the Tomcat server shutdown?
Antworten
  • 1080
  • 8005
  • 8080
  • 8001
  • 8085

Frage 9

Frage
Indicate the statement which he considers a good practice to ensure tomcat server
Antworten
  • Delete everithing from path HOME/webapps
  • Delete everithing from path HOME/server/webapps
  • Ensure that the default web servlet configuration does not serve the index pages in the absense of a welcome page
  • Clear all text password from HOME/conf/server.xml
  • All of the above

Frage 10

Frage
Declaring roles. Which of the following does not belong to the method annotations?
Antworten
  • @DeclareRoles
  • @RolesAllowed("List-of-roles")
  • @AllowRoles
  • @DenyAll
  • @PermitAll
Zusammenfassung anzeigen Zusammenfassung ausblenden

0 Kommentare

There are no comments, be the first and leave one below:

ähnlicher Inhalt

Introduction to Java Security
Carlos Veliz
Java Mix Test 42p
Carlos Veliz
Authentication and Authorization
Carlos Veliz
Criptography
Carlos Veliz
Java - Mix
Carlos Veliz
Test 1
brenda aguero
test4 de voleibol
cristianvilia.leiv
Java Application Vulnerabilities
Carlos Veliz
Java Concurrency and Session Management
Jose Luis Vasquez Galvez