public List<String> getComponents() {
      return components;
    }
Get all of the components which make up the principal.

@return list of principal components
ambari-server/src/main/java/org/apache/ambari/server/controller/AuthToLocalBuilder.java