code: public List<AuthenticationMechanism<Resourceadapter<T>>> getAllAuthenticationMechanism()
     {
        List<AuthenticationMechanism<Resourceadapter<T>>> list = new ArrayList<AuthenticationMechanism<Resourceadapter<T>>>();
        List<Node> nodeList = childNode.get("authentication-mechanism");
        for(Node node: nodeList)
        {
           AuthenticationMechanism<Resourceadapter<T>>  type = new AuthenticationMechanismImpl<Resourceadapter<T>>(this, "authentication-mechanism", childNode, node);
           list.add(type);
        }
        return list;
     }
docs: Returns all <code>authentication-mechanism</code> elements
  @return list of <code>authentication-mechanism</code>