The Dynamic Software Product Line (DSPL) is becoming the system with high vulnerability and highconfidentiality in which the adaptive security is a challenging task and critical for it to operate. Adaptivesecurity is able to automatically select security mechanisms and their parameters at runtime in order topreserve the required security level in a changing environment. This paper presents a liter