Http Basic Security Using Spring Framework


Http Basic Security Using Spring Framework :

In web.xml File

<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>

<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/spring/dyn-security.xml</param-value>
</context-param>

<filter>
<filter-name>springSecurityFilterChain</filter-name>
<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
</filter>
<filter-mapping>
<filter-name>springSecurityFilterChain</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>

Send SMS Using Java

private String smsGatewayUserId = "";
    private String smsGatewayPassword = "";
    private String smsGatewayURL = "";
    private String urlEncoding = "UTF-8";
    private String smsGatewaySID = "";

    private static String csvFilePath = "/var/www/";

    public String getMessage(String ar[]) {

        return null;
    }
  
public String sendSMS(String mobileNo, String msg) {

Creating SVN Repository In UBUNTU (Linux) System

1) Up-to-Date Installed Packages
sudo apt-get update
2) Downloading the Subversion, Subversion Tools and Libapache2 packages
you need to run svn subversion and it's tools by using commands
sudo apt-get install subversion subversion-tools libapache2-svn
3) Creating Subversion (SVN) Directory
creating svn directory, where you want to configure svn.
sudo mkdir /home/svn