org.apache.catalina.security.SecurityConfig Java Examples

The following examples show how to use org.apache.catalina.security.SecurityConfig. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Catalina.java    From Tomcat8-Source-Read with MIT License 4 votes vote down vote up
/**
 * Set the security package access/protection.
 */
protected void setSecurityProtection(){
    SecurityConfig securityConfig = SecurityConfig.newInstance();
    securityConfig.setPackageDefinition();
    securityConfig.setPackageAccess();
}
 
Example #2
Source File: Embedded.java    From Tomcat7.0.67 with Apache License 2.0 4 votes vote down vote up
/**
 * Set the security package access/protection.
 */
protected void setSecurityProtection(){
    SecurityConfig securityConfig = SecurityConfig.newInstance();
    securityConfig.setPackageDefinition();
    securityConfig.setPackageAccess();
}
 
Example #3
Source File: Catalina.java    From Tomcat7.0.67 with Apache License 2.0 4 votes vote down vote up
/**
 * Set the security package access/protection.
 */
protected void setSecurityProtection(){
    SecurityConfig securityConfig = SecurityConfig.newInstance();
    securityConfig.setPackageDefinition();
    securityConfig.setPackageAccess();
}
 
Example #4
Source File: Embedded.java    From tomcatsrc with Apache License 2.0 4 votes vote down vote up
/**
 * Set the security package access/protection.
 */
protected void setSecurityProtection(){
    SecurityConfig securityConfig = SecurityConfig.newInstance();
    securityConfig.setPackageDefinition();
    securityConfig.setPackageAccess();
}
 
Example #5
Source File: Catalina.java    From tomcatsrc with Apache License 2.0 4 votes vote down vote up
/**
 * Set the security package access/protection.
 */
protected void setSecurityProtection(){
    SecurityConfig securityConfig = SecurityConfig.newInstance();
    securityConfig.setPackageDefinition();
    securityConfig.setPackageAccess();
}