Class EmbeddedSecurityUtil
- java.lang.Object
-
- com.sun.enterprise.security.embedded.EmbeddedSecurityUtil
-
- All Implemented Interfaces:
EmbeddedSecurity
@Service @Singleton public class EmbeddedSecurityUtil extends Object implements EmbeddedSecurity
Utility file to copy the security related config files from the passed non-embedded instanceDir to the embedded server instance's config. This is a service that is protected. This implements the Contract EmbeddedSecurity- Author:
- Nithya Subramanian
-
-
Constructor Summary
Constructors Constructor Description EmbeddedSecurityUtil()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
copyConfigFiles(org.glassfish.hk2.api.ServiceLocator habitat, File fromInstanceDir, File domainXml)
List<String>
getKeyFileNames(SecurityService securityService)
boolean
isEmbedded(ServerEnvironment se)
String
parseFileName(String fullFilePath)
-
-
-
Method Detail
-
copyConfigFiles
public void copyConfigFiles(org.glassfish.hk2.api.ServiceLocator habitat, File fromInstanceDir, File domainXml)
- Specified by:
copyConfigFiles
in interfaceEmbeddedSecurity
-
parseFileName
public String parseFileName(String fullFilePath)
- Specified by:
parseFileName
in interfaceEmbeddedSecurity
-
isEmbedded
public boolean isEmbedded(ServerEnvironment se)
- Specified by:
isEmbedded
in interfaceEmbeddedSecurity
-
getKeyFileNames
public List<String> getKeyFileNames(SecurityService securityService)
- Specified by:
getKeyFileNames
in interfaceEmbeddedSecurity
-
-