Revert the change of r61834 as the changes seems cause the ejb dev tests failed.

git-svn-id: https://svn.java.net/svn/glassfish~svn/trunk/main@61837 6f3ba3e3-413c-0410-a8aa-90bee3ab43b5
GLASSFISH-20379: Provide switch for jersey eager loading on/off
- Temporary switch admin framework init to lazy



git-svn-id: https://svn.java.net/svn/glassfish~svn/trunk/main@61838 6f3ba3e3-413c-0410-a8aa-90bee3ab43b5
Bug16761878 - porting fix from 4.0 to main (CTS test client side permission issue)

git-svn-id: https://svn.java.net/svn/glassfish~svn/trunk/main@61839 6f3ba3e3-413c-0410-a8aa-90bee3ab43b5
Uptake latest hk2

git-svn-id: https://svn.java.net/svn/glassfish~svn/trunk/main@61840 6f3ba3e3-413c-0410-a8aa-90bee3ab43b5
Adding packager module which will produce UC bootstrap script distribution fragment. Temporary implementation to address non-preferred repository UC client
bootstrap scenario.


git-svn-id: https://svn.java.net/svn/glassfish~svn/trunk/main@61841 6f3ba3e3-413c-0410-a8aa-90bee3ab43b5
Fix for FPP-1648 - CommandSecurityChecker should throw helpful exception if @AccessRequired resource refers to a field that is null at runtime

The @AccessRequired annotations can refer to a field on the command class using ${fieldName} in the resource name expression.  By the time the field name is evaluated as part of security checking the field should be non-null.  This change causes the CommandSecurityChecker to throw an IllegalArgumentException indicating that a field has a null value.  (Previously it would just cause a NullPointerException without much diagnostic help.)



git-svn-id: https://svn.java.net/svn/glassfish~svn/trunk/main@61842 6f3ba3e3-413c-0410-a8aa-90bee3ab43b5
Low priority FindBugs fix: Remove DLS_DEAD_LOCAL_STORE

git-svn-id: https://svn.java.net/svn/glassfish~svn/trunk/main@61843 6f3ba3e3-413c-0410-a8aa-90bee3ab43b5
Make multi-threaded boot the default

git-svn-id: https://svn.java.net/svn/glassfish~svn/trunk/main@61844 6f3ba3e3-413c-0410-a8aa-90bee3ab43b5
fix embedded integration tests, use pom parenting to gather common configuration and lighten the poms

git-svn-id: https://svn.java.net/svn/glassfish~svn/trunk/main@61845 6f3ba3e3-413c-0410-a8aa-90bee3ab43b5
FindBugs fixes

Dev tests pass


git-svn-id: https://svn.java.net/svn/glassfish~svn/trunk/main@61846 6f3ba3e3-413c-0410-a8aa-90bee3ab43b5
GLASSFISH-20423, port to the trunk

git-svn-id: https://svn.java.net/svn/glassfish~svn/trunk/main@61847 6f3ba3e3-413c-0410-a8aa-90bee3ab43b5
fix MDB

git-svn-id: https://svn.java.net/svn/glassfish~svn/trunk/main@61848 6f3ba3e3-413c-0410-a8aa-90bee3ab43b5
GLASSFISH-20461 - update cdi-api version to 1.1

git-svn-id: https://svn.java.net/svn/glassfish~svn/trunk/main@61849 6f3ba3e3-413c-0410-a8aa-90bee3ab43b5
* Changed the name of a protected method getRemotePid --> getServerPid
* Added a comment about a situation where shutdown may leave a port open for a while




git-svn-id: https://svn.java.net/svn/glassfish~svn/trunk/main@61851 6f3ba3e3-413c-0410-a8aa-90bee3ab43b5
Logging guildlines compliance changes (FPP-1639)
Remove unused code


git-svn-id: https://svn.java.net/svn/glassfish~svn/trunk/main@61854 6f3ba3e3-413c-0410-a8aa-90bee3ab43b5
Slight change in command security behavior for commands which implement AccessCheckProvider

The command security framework tries to ensure that command authors have accounted for command security.  One way has been to make sure that at least one access check is enforced for each command, whether from an @AccessRequired annotation, from a @RestEndpoint, or from the command supplying its own AccessCheck objects by implementing the AccessCheckProvider interface.  If a command provides no access check then the framework generates an access check for the resource "unguarded/(commandName)."

One example has come up in which the command implements AccessCheckProvider but determines at runtime that there are no entities that the command invocation will actually access and therefore there are no access checks relevant to that invocation.  In such a case it should be OK for the command to provide no access checks.  

This change relaxes the enforcement so that if the command implements AccessCheckProvider then the framework will not apply the "unguarded/(commandName)" access control, even if the command class's getAccessChecks method returns an empty collection.

Note that the authors of commands which implement AccessCheckProvider are responsible for making sure that the correct set of access checks are used for authorizing each possible invocation of the command (combinations of command options, etc.) so that the command never discloses information that it should not.

Tests: QL, manual test of such a command

git-svn-id: https://svn.java.net/svn/glassfish~svn/trunk/main@61855 6f3ba3e3-413c-0410-a8aa-90bee3ab43b5
Adding parser package to export contents


git-svn-id: https://svn.java.net/svn/glassfish~svn/trunk/main@61856 6f3ba3e3-413c-0410-a8aa-90bee3ab43b5
Fixed issue FPP-1673. Remove reference to LogDomain. And the logger should not be inherited by the sub classes as the logger should not be shared across modules, made necessary changes in the sub classes. Also cleaned up the log message ids for nucleus deployment modules to make each module have a designated range of message ids to avoid potential future message conflicts.
Ran QL, deployment dev tests. 


git-svn-id: https://svn.java.net/svn/glassfish~svn/trunk/main@61857 6f3ba3e3-413c-0410-a8aa-90bee3ab43b5