What kind of exception does the method login(HttpServletRequest request, HttpServletResponse response) throw?
LoginException
EnterpriseSecurityException
SecurityException
IntrusionException
Which are the default scripting codecs supported by the security API
JavaScript
VBScript
Both of the above
None of the above
Which are the default codecs supported to help encode characters to be safely used on OS command shells
Unix Codec
Windows Codec
Unix and Windows Codec
Linux Codec
The security API supports codecs for SQL Strings of which of the following databases ?
Oracle
MySQL
Oracle, MySQL, Sybase, DB2
What is the functionality of the seal() method ?
Creates a seal that binds a set of data and includes an expiration timestamp
Encodes the data
Hashes the data
Scrambles the data
What method is provided within the security API to prevent caching by browsers and proxies?
void setNoCacheHeaders(javax.servlet.http.HttpServletResponse response)
void setNoCacheHeaders(javax.servlet.http.HttpServletRequest request)
boolean setNoCacheHeader(javax.servlet.http.HttpServletResponse response)
void setNoCacheHeaders(javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException
Which method among the below could be used as a defense against Cross Site Request Forgery?
encryptHiddenField(java.lang.String value)
addCSRFToken(final java.lang.String href)
verifySecureComm(javax.servlet.http.HttpServletRequest request)
setSafeContentType(javax.servlet.http.HttpServletResponse response)
Which set of security API methods could be used as the best defense against Cross Site Scripting?
Input Validation and OutPut Encoding
Authentication and Authorization
Data Protection and Cryptography
HTTP and Communication Security
What is the signature of the sign method in the security API?
java.lang.String sign(java.lang.String data, java.lang.String key) throws EncryptionException
java.lang.String sign(java.lang.String data, java.lang.String key)
java.lang.String sign(java.lang.String data)
java.lang.String sign(java.lang.String data) throws SecurityException
What is the signature of the seal method in the security API?
java.lang.String seal(java.lang.String data,long timestamp) throws SecurityException
java.lang.String seal(java.lang.String data,long timestamp) throws EncryptionException
java.lang.String seal(java.lang.String data)
java.lang.String seal(java.lang.String data) throws EncryptionException