Author:
Daisy Williams
Apr
16
deployer is responsible for the following security-related tasks:
Mapping the application permission model provided by the application assembler to policies and mechanisms specific to the operational environment.
Assigning principals to the security roles in the deployment descriptor.
A deployer receives the packaged files and deployment descriptor from the application assembler. The assembler assigns a logical name to the security role, which may not be used in the real environment. The deployer matches this logical name to the real user.
Permanent link to this post (80 words, estimated 19 secs reading time)
Author:
Daisy Williams
Apr
13
The getCallerIdentity() method is used to obtain the java.security.Identity of the caller. The container is allowed to return null from this method. The enterprise bean should use the getCallerPrincipal method instead. The following is the general form of the method:
public java.security.Identity getCallerIdentity()
This method returns the Identity object that identifies the caller.
Permanent link to this post (54 words, estimated 13 secs reading time)
Author:
Daisy Williams
Mar
24
HTTP 1.1 defines eight request methods as follows:
GET: It is the default request method. It retrieves the resource identified by the request URL.
POST: It is used to send the data to be processed.
HEAD: It returns the headers identified by the request URL.
PUT: It stores a resource under the request URL.
DELETE: It removes the resource identified by the request URL.
OPTIONS: It returns the HTTP methods that the server supports.
CONNECT: It requests that a proxy establish a tunnel connection to a port on its behalf.
This is a preview of
What are the methods available in HTTP 1.1?
.
Read the full post (120 words, estimated 29 secs reading time)
Author:
Daisy Williams
Dec
12
The createNewFile() method of the File class is used to create a new empty file if a file with the given name does not already exist. It returns true if a file with the given name does not exist and is successfully created; otherwise, it returns false.
Permanent link to this post (48 words, estimated 12 secs reading time)