if (securityPermission.description().length > 0) {
firstDesc = securityPermission.description()[0];
}
com.sun.enterprise.deployment.SecurityPermission permission =
new com.sun.enterprise.deployment.SecurityPermission(firstDesc,
securityPermission.permissionSpec());
desc.addSecurityPermission(permission);
} else {
getFailureResult(element, "Not a @Connector annotation : @SecurityPermission must " +
"be specified along with @Connector annotation", true);
}